We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
tscheims
7 years agoNew member | Level 2
Android V2 API. Successful fileupload but no file in Dropbox Directory
I'm using the example source code from github for an android application. For the file upload i'm using the provided UploadFileTaks class. I get no exception and the "onUploadComlete" Callback i...
- 7 years ago
I found the error: I just looked in the wrong directory: the directory is located under /Apps/app-name
tscheims
New member | Level 2
The FileMetadata return Value looks like this:
{".tag":"file","name":"1520981755788.jpg","id":"id:**********","client_modified":"2018-03-13T22:57:09Z","server_modified":"2018-03-13T22:57:09Z","rev":"*************","size":2150,"path_lower":"/app-path/1520981755788.jpg","path_display":"/app-path/1520981755788.jpg","content_hash":"f27d13527113eedb61b03049bdfc2f**********************************"}
and that's the used upload method:
try (InputStream inputStream = new FileInputStream(localFile)) {
return mDbxClient.files().uploadBuilder(remoteFolderPath + "/" + remoteFileName)
.withMode(WriteMode.OVERWRITE)
.uploadAndFinish(inputStream);
} catch (DbxException | IOException e) {
mException = e;
}
tscheims
7 years agoNew member | Level 2
I found the error: I just looked in the wrong directory: the directory is located under /Apps/app-name
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months 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!