You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
abdallah
8 months agoNew member | Level 2
Uploading different size files.
I'm trying to upload files with different sizes, some are <150MB and some are >150MB ... that's why I upload files in 140MB chunks using the `/upload_session/start`, `append`, and `finish`... as spec...
Здравко
8 months agoLegendary | Level 20
abdallah wrote:... but how can I specify the `"path": "/Homework/math/Matrices.txt"` as in the `finish` docs?
Am I getting something wrong here?
Hi abdallah,
Honestly, I cannot understand what are you asking for actually. 🤔 You ask for something that you have already explained in your question. Yes, the path is just one of the parameters you can (and must - it's something mandatory, not optional, like another parameters) specify when calling /2/files/upload_session/finish end point. 🙋 You may set it to real Dropbox path (as the name suggests) or using id or mixture of the previous two (with possible participation of namespace) - the choice is yours. Just keep in mind you may need to set the mode too (despite optional) if you have to overwrite already existing file (with the default mode value it's impossible - will result in conflicted copy or error). That's it.
Since you have multiple files, it's a good idea not to finish them one by one, but once all they are ready (fully uploaded and closed) to finish them in batch - /2/files/upload_session/finish_batch_v2 - faster and safer. 😉 The same parameter set, organized in array - entries (one entry for each file to finish).
Hope this sheds a bit of clarity.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,888 PostsLatest Activity: 9 hours agoIf 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!