Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
kmsbs
8 years agoExplorer | Level 4
My uploaded files on Dropbox are 0 bytes/ empty.
I have an app,In this app we are using dropbox v2 for upload or download a file.
I uplaoded a file but it shown as a empty file and 0 byte.
kmsbs
8 years agoExplorer | Level 4
hello sir,
any solution
any solution
Greg-DB
Dropbox Community Moderator
8 years agokmsbs In your code, you're actually calling `uploadAndFinish` twice; once on its own, and then again inside your `Log.e` call. When you call the second time, the `inputStream` is consumed, so you end up uploading a zero byte file. Update your code to only do the upload once.
- kmsbs8 years agoExplorer | Level 4thanks it work fine
About Discuss Dropbox Developer & API
Make connections with 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!