Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Vivek S.3's avatar
Vivek S.3
New member | Level 2
9 years ago
Solved

File Naming

Hi,   I'm using the nodejs SDK and I notice that when using the filesUpload method, file names seem to be get clipped short. For example, I have a file that is uploaded to the path -  /test/some_f...
  • Steve M.'s avatar
    Steve M.
    9 years ago

    Oh, it looks like things are working correctly then.

     

    A forward slash is the path separator, so the path /foo/bar/baz means a file named "baz" in a folder called "bar" within a folder called "foo".

     

    The path you're passing has six slashes, and it seems like you expect four of them to be path separators and two of them to not be. How would Dropbox know which were which?

     

    https://www.dropbox.com/help/145 may help. It goes over some of the restrictions in characters that make up paths in Dropbox.

About Dropbox API Support and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

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, Facebook or Instagram.

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!