cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
What’s new: end-to-end encryption, Replay and Dash updates. Find out more about these updates, new features and more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Java API: DbxClient uploadFile, is it a blocking method?

Java API: DbxClient uploadFile, is it a blocking method?

Justas S.
New member | Level 1

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 4

Greg-DB
Dropbox Staff

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.
New member | Level 1

Thanks Greg. In that case it seems my problem lies elsewhere.

NagiReddy J.
New 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-DB
Dropbox Staff

NagiReddy J., I don't think I understand your question. Can you start a new thread with more details? Thanks!

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    NagiReddy J. New member | Level 2
  • User avatar
    Justas S. New member | Level 1
What do Dropbox user levels mean?