Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.

Forum Discussion

kypostman's avatar
kypostman
New member | Level 2
6 years ago

save_url endpoint to overwrite any files with same names rather copy? (v2)

I am creating an integration using Postman Monitors. 

And I need to be able to overwrite any files with the same name when uploading using save_url. 

Is this possible? Cause the only other way I'd be able to do this is to delete the whole contents and painstakingly upload everything :sob:

1 Reply

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

    No, unfortunately the /2/files/save_url endpoint doesn't offer "write mode" options, e.g., to overwrite an existing file at the specified location, like /2/files/upload does. I'll pass this along as a feature request, but I can't promise if or when that might be implemented. 

    I'm not sure I understand your other comment though. For context for the feature request, can you elaborate? For instance, as a workaround, you can check if the file already exists first, then delete it if so, and then use save_url to upload the new file at that same location the same way. Would that not work in your use case? Thanks!

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,039 PostsLatest Activity: 2 days ago
415 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!