Your workflow is unique 👨‍💻 -  tell us how you use Dropbox here.

Forum Discussion

Reshma 's avatar
Reshma
Explorer | Level 3
3 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

Replies have been turned off for this discussion
  • Reshma 's avatar
    Reshma
    Explorer | Level 3
    3 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
    3 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
    1 year ago
    Is there any update api to change the file content ? Did u find any answer ?
  • kenzy's avatar
    kenzy
    New member | Level 2
    1 year ago
    I don't think so this is possible . It gives conflict error when I tried
  • Здравко's avatar
    Здравко
    Legendary | Level 20
    1 year 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 and Feedback

Node avatar for Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.

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!