We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
sylfabre
8 years agoNew member | Level 2
Mount a folder from a shared link
Hello,
I have a shared folder with a link within my work Dropbox, with some "get started" files and subfolders.
https://www.dropbox.com/sh/c8lxhn68sdfduvp/AADwI1wTcLYWSeJVW9zZuiFha?dl=0
We have an app with full dropbox access for our customers.
I would like to create a copy of this shared folder to a specific folder (like "/[my company name]") in my customers' dropbox.
I don't understand which endpoint I should use.
Thank you for your help
- The shared link feature, such as the shared link you posted, allows a user view-only access to a file or folder. It doesn't allow an app to automatically copy/mount that folder in another user's account. (They can manually download a copy to their own account via the shared link page though.)
Exactly what you should use depends on the particular behavior you want.
For example, you can have your app automatically make a copy of a folder in another user's account using "copy references":
https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-get
https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-save
That copy would not sync back changes with your original folder.
Or, if you want changes to sync back and forth between accounts, you can share the folder and add them as members:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-share_folder
https://www.dropbox.com/developers/documentation/http/documentation#sharing-add_folder_member
2 Replies
- Greg-DB8 years ago
Dropbox Community Moderator
The shared link feature, such as the shared link you posted, allows a user view-only access to a file or folder. It doesn't allow an app to automatically copy/mount that folder in another user's account. (They can manually download a copy to their own account via the shared link page though.)
Exactly what you should use depends on the particular behavior you want.
For example, you can have your app automatically make a copy of a folder in another user's account using "copy references":
https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-get
https://www.dropbox.com/developers/documentation/http/documentation#files-copy_reference-save
That copy would not sync back changes with your original folder.
Or, if you want changes to sync back and forth between accounts, you can share the folder and add them as members:
https://www.dropbox.com/developers/documentation/http/documentation#sharing-share_folder
https://www.dropbox.com/developers/documentation/http/documentation#sharing-add_folder_member - sylfabre8 years agoNew member | Level 2Thank you, it works!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 51 minutes ago
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!