Forum Discussion

fifo s.'s avatar
fifo s.
New member | Level 1
11 years ago

Is there an API for downloading shared files?

Hi,

I'm writing a program in Swift/Objective-c to download a file that is shared on Dropbox. I have a link to the shared file. Does Dropbox allow such a download? Is there a Dropbox API for this operation? If there's no Dropbox API, does the normal URL request API's work with Dropbox? I have tried iOS NSURLConnection with no success, although I'm novice in Http connection programming. I would appreciate your help. Thanks!

2 Replies

Replies have been turned off for this discussion
  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    11 years ago

    You can modify Dropbox share links for different behaviors, e.g., to return the file content, as shown here:

    https://www.dropbox.com/help/201

    You can then issue a standard HTTPS GET request to download the raw content from the link.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

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!