When trying to upload or download files with long filenames, OneDrive can sometimes show errors. To avoid this, please follow these steps:
- Rename the file to have fewer than 255 characters.
- Remove any unsupported characters from the file name.
- Compress the file if possible.
- Split the file into multiple smaller files.