You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

kamaldileep42's avatar
kamaldileep42
New member | Level 2
7 years ago

Uploading files to a shared folder through API

Hello,

 

How can I specify a shared folder path while uploading a file through API. When I pass my path as "/test/version1", it is by default going to my home folder of dropbox and creating the path there. So where can I specify my shared folder name (the folder shared by others).

 

Best Regards,

Dileep

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    kamaldileep42 There are a number of ways to do this. Specifying the path itself, e.g., "/test/version1" as you mentioned, is one way, but, by default, that will only enable you to access shared folders inside your own team member folder. 

     

    For more information on how this works, and documentation on how to access shared folders elsewhere, e.g., in the team space, please review the Namespace Guide, which goes over this in detail:

     

    https://www.dropbox.com/developers/reference/namespace-guide

  • Jay's avatar
    Jay
    Icon for Dropbox Staff rankDropbox Staff

    Hi Kamil, I moved your post to the API forum for our specialist to help out!