Start 2025 on time and up to date! Seamlessly integrate your calendars into Dropbox with these simple steps! 📆
Forum Discussion
duynh7401
3 years agoExplorer | Level 4
Problem with download Dropbox API
When I use the dropbox API to download a file, the file will be saved in the root path of my code(Q4.zip) as the picture. How can I download it from the browser and choose the file path which stored it in my computer? I'm using Reactjs as frontend and Spring boot for backend.
.
- Greg-DBDropbox Staff
When you download file data from the Dropbox API, the API response will contain the requested data in the response body. Exactly what you do with that data, and how, is up to you and will depend on your environment. That's not part of the Dropbox API and is out of our control, so I can't tell you exactly what you can or should do. For example, you may use some interface for your local platform for interacting with your local filesystem, in which case you would generally have your code specify the path on the local filesystem for where to write the file. Or, if you're passing the download to the end-user's web browser, the browser would generally prompt the end-user to choose where to save the file. I recommend referring to the documentation for your platform for information on handling and saving data locally.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,929 PostsLatest Activity: 2 days ago
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!