We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
travis h.4
10 years agoNew member | Level 1
Upload File Problem.. Result is 0 bytes
Hello,
Im having a parable uploading my files to dropbox Im using JAVA and the dropbox API my problem is everytime I try to upload the file I am going into dropbox on my browser and trying to l...
travis h.4
10 years agoNew member | Level 1
SOLVED
File selectedFile = new File(nameOf+inputFile);
inputStream = new FileInputStream(inputFile);
uploadedFile = client.uploadFile( "/" +selectedFile ,DbxWriteMode.add(), inputFile.length(), inputStream);
System.out.println("Uploaded: " + uploadedFile.toString());
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!