Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
I am uploading files from android phone to my Dropbox. The path/directory where I am writing is Apps/p19
my upload code does the following: But this never succeeds.
mDBApi.putFile("Apps/p19/t.csv",inputStream, filename.length(), null, null);
Is my path wrong or am i making any mistake in the putFile call ?
It looks like there are a few issues here:
Thanks. it worked with v2 api
How can I upload files to a specific folder in android
got the answer:
FileInputStream(file).use { item ->
val metadata = client.files().uploadBuilder("/$rootPATH/${file.absolutePath.substringAfterLast("/")}")
.uploadAndFinish(item)
}
Hi there!
If you need more help you can view your support options (expected response time for a 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!