Help Center/ Object Storage Service/ FAQs/ OBS Console/ The Object Name Changes After an Object with a Long Name Is Downloaded to a Local Computer
Updated on 2024-10-28 GMT+08:00

The Object Name Changes After an Object with a Long Name Is Downloaded to a Local Computer

Symptom

After an object with a relatively long name is downloaded to a local path, the object name changes.

Cause

For Windows, a file name, including the file name extension, can contain a maximum of 255 characters.

When an object with a name containing more than 255 characters is downloaded to a local computer, the system keeps only the first 255 characters automatically.

Solution

Change the object name to a string of no more than 255 characters.