Forum Discussion

thomas1976's avatar
thomas1976
New member | Level 2
3 years ago

Switf : Upload a file to the same folder for multiple user

Hello,

I am developping a swift application for IOS (Ipad) using the dropbox api.

I create a new dropbox account and setup the application with it.

In my application i need to transfert files to as specific folder that a create with this account.

 

The problem is that if a user already has a dropbox account and sign with it when he transfers the files, they will be in his directory.

 

How can i use the same folder for every users ? so that the files will always be uploaded to the same folder ?

 

Is it possible to have a  shared directory with several users that i can use it in my application to upload files ?

 

Thanks in advance

Thomas

 

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

    The API was designed with the intention that each user would link their own Dropbox account, in order to interact with their own files/folders. While it is technically possible to always connect to just one account for all users, we do not officially support this, for various technical and security reasons.

    • thomas1976's avatar
      thomas1976
      New member | Level 2

      Hello,

      Thanks for you answer.

      If i use a business account and setup a shared folder can i access it trough the api ?

      Must i do something special in my script ?

       

      Ps: this is not a commercial or public application.

      Thanks

       

About Discuss Dropbox Developer & API

Node avatar for Discuss Dropbox Developer & API
Make connections with other developers806 PostsLatest Activity: 9 hours ago
217 Following

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!