We Want to Hear From You! What Do You Want to See on the Community? Tell us here!

Forum Discussion

Reshma 's avatar
Reshma
Explorer | Level 3
4 years ago

Is there any way to update a File using API's or Java SDK Methods?

Is there any way to update a File(doc, pdf, txt) uploaded from my local machine into Dropbox web app using API's or Java SDK Methods?

 

From Dropbox web app , we can update the doc file by choosing open in word for the web option. 

Can I perform the same action using Dropbox File API's or Dropbox Java SDK methods?? 

 

do we have something like Files/Update API or Files().update() sdk method??

7 Replies

  • Reshma 's avatar
    Reshma
    Explorer | Level 3
    4 years ago

    Okay !! I'm aware of this upload functionality.. So we don't have any update api's or sdk methods for files right ? all we can do is upload another versions of files. Is my understanding correct ?

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Community Moderator rankDropbox Community Moderator
    4 years ago

    I'm not sure I follow. Can you clarify what functionality specifically you're looking to implement? You can use the upload methods to overwrite existing files with new data, for instance.

  • kenzy's avatar
    kenzy
    New member | Level 2
    2 years ago
    Is there any update api to change the file content ? Did u find any answer ?
  • kenzy's avatar
    kenzy
    New member | Level 2
    2 years ago
    I don't think so this is possible . It gives conflict error when I tried
  • Здравко's avatar
    Здравко
    Legendary | Level 20
    2 years ago

    kenzy wrote:
    I don't think so this is possible . It gives conflict error when I tried

    😁 kenzy, Yes, by default it's so. If nothing set explicitly upload mode is 'add' - 'Do not overwrite an existing file' - as stated in documentation about this mode. Did you try overwrite or update mode? 😉

    Hope this helps.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 2 days ago
411 Following

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 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!