We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Shashikanth
9 years agoExplorer | Level 3
Uploading chunks of file data to a file in dropbox
Hello, My scenario: In the application I am working I have to upload chunk of file data and append to a file in dropbox. In the application I will not know the source file name. All I get, throu...
Greg-DB
Dropbox Community Moderator
9 years agoIf you're using Java, we do recommend using the official Dropbox API v2 Java SDK. There's an example of uploading files included, for both uploading small files, as well as uploading larger files using upload sessions.
To clarify though, do you need to append data to an existing uploaded file? Note that you can append to an upload session by calling uploadSessionAppendV2 as many times as you need, but you need to upload the entire file each time you want to update it. That is, each "upload session" is a way to update a single file to a whole new version of that file, but uploading all of the data for that file version.
Shashikanth
9 years agoExplorer | Level 3
Thank you for the reply.
Yes, I need to append data to an existing file on Dropbox. Uploading entire file each time is not an option for me because the data to be appended comes in as an input to my method. So all I have is a byte array which needs to be appended to a file on Dropbox.
- Greg-DB9 years ago
Dropbox Community Moderator
Thanks for following up. The API doesn't offer the ability to append like that unfortunately. I'll pass this along as a feature request.
About 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!