We’re aware of an issue causing slower load times on the Dropbox Community forum. It should be resolved soon. Thanks for your patience!
Forum Discussion
Justas S.
11 years agoNew member | Level 1
Java API: DbxClient uploadFile, is it a blocking method?
I upload the file I create and then delete it. For some reason the it seems the file is not found by the uploadFile method.
Does uploadFile block the current thread until the file is uploaded? If not, how can I know when is it finished?
4 Replies
Replies have been turned off for this discussion
- Greg-DB11 years ago
Dropbox Community Moderator
Yes, the uploadFile method does block until the upload is complete. It also returns the DbxEntry.File object with information on the uploaded file.
Is this not what you're seeing? If not, please post your code and output.
- Justas S.11 years agoNew member | Level 1
Thanks Greg. In that case it seems my problem lies elsewhere.
- NagiReddy J.10 years agoNew member | Level 2
i have a doubt that,how we are connecting to dropbox account or dropbox app using DbxClient without specifying "URL" of the dropbox..i have very much confusion abt this...pls help me..thanks in advance
- Greg-DB10 years ago
Dropbox Community Moderator
NagiReddy J., I don't think I understand your question. Can you start a new thread with more details? Thanks!
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!