We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
OkeyDokeRodeo
4 years agoExplorer | Level 4
Workaround for "You can't copy the item 'xxxxxx' because its name is too long ie..."?
I'm backing up some files using Dropbox for the first time, and this is probably the fourth error I've got pertaining to
"You can't copy the item 'xxxxx' because its name is too long or includes characters that are invalid on the destination value."
I'm aware that file naming must adhere to dropbox's list found here: https://help.dropbox.com/files-folders/sort-preview/file-names
However I'm working with files that are already named. This is quite a nuisance, and I'm considering just switching over to google drive (as I've used it before and haven't had any issues of this matter so far).
Any suggestions or help would be greatly appreciated thanks yall xoxo ❤️
2 Replies
- Mark4 years ago
Super User II
The issue is not a Dropbox one, its a Windows one. So moving to GoogleDrive probably wont help, or, if it does its because the directory name structure is smaller.
That is the only way to fix it - reduce the folder length.
One clever tip to remember is that you can move and rename shared folders yourself without impacting other users. So, if this is in a shared folder and its causing issues try moving it to another location or renaming it. Just make sure when you do that you give Dropbox time to sync the changes.
- Rich4 years ago
Super User II
OkeyDokeRodeo wrote:
However I'm working with files that are already named. This is quite a nuisance, and I'm considering just switching over to google drive (as I've used it before and haven't had any issues of this matter so far).
This isn't a Dropbox issue and you'll encounter it with any cloud service you use. The limitation is from Windows and the only solution is to rename the files or the folders so that the file's name, including the full path to that file, is less than 260 characters.
Take, for example, a file called "Sunset on the Lake.jpg" located in a folder called "Vacation Photos" within your Dropbox folder. Your Dropbox folder is located "C:\Users\OkeyDokeRodeo\Dropbox". This makes the full path to your path to the photo "C:\Users\OkeyDokeRodeo\Dropbox\Vacation Photos\Sunset on the Lake.jpg". Now count every character in that path and you'll get 69. That's the true character count for that file name.
Now assume you have a much larger folder structure and naming convention, something like this; "C:\Users\OkeyDokeRodeo\Dropbox\Photos\2022\February\Vacation Photos\Sandy Toes, Bahamas\Sunset on the Lake.jpg". The character count for that file is now 135, despite the file name being the same.
The only way to resolve the error you're getting is to make sure the character count for the full path to the file is less than 260 characters, and technically, it's 259, since there's a blank character at the end of the path (it's a Windows thing).
About View, download, and export
Need support with viewing, downloading, and exporting files and folders from your Dropbox account? Find help from the Dropbox Community.
Need More Support
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!