Learn how to make the most out of the Dropbox Community here 💙.
Learn how to make the most out of the Dropbox Community here 💙.
Dropbox does offer an API endpoint /2/files/save_url which allows you to specify a particular URL to a file and a path where you'd like to save that file in the connected Dropbox account. You can supply the public URL, and programmatically build the desired destination path in your code.
By the way, that's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.
That sounds like that would work for your use case, so I suggest trying that out. The API Explorer is a good way to test and prototype calls like this.
Dropbox does offer an API endpoint /2/files/save_url which allows you to specify a particular URL to a file and a path where you'd like to save that file in the connected Dropbox account. You can supply the public URL, and programmatically build the desired destination path in your code.
By the way, that's a link to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.
That sounds like that would work for your use case, so I suggest trying that out. The API Explorer is a good way to test and prototype calls like this.
Hi Greg DB,
Thank you for your helpful response! I greatly appreciate the guidance.
It's great to know that Dropbox offers the /2/files/save_url API endpoint, which seems to align perfectly with my use case. I'll definitely look into using this endpoint to save files from the provided URLs to the desired Dropbox folder structure.
I'll also take your advice and explore the official SDKs for Dropbox.
I'll give the API Explorer a try for testing and prototyping as well.
Once again, thank you for pointing me in the right direction. Your assistance has been invaluable!
Thanks!
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!