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.

Discuss Dropbox Developer & API

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

get files uploaded date with dropbox api

get files uploaded date with dropbox api

Sandar_
Explorer | Level 3

With dropbox api, I want to delete old uploaded files from dropbox by uploaded date filtering. Please give me suggestion, how can I do? 

 

1 Reply 1

Greg-DB
Dropbox Staff

To delete files, you should use /2/files/delete_v2 or /2/files/delete_batch.

Those require you to specify exactly which files to delete. To first find files any/all files with modified datetimes older than a certain date, you can use /2/files/list_folder[/continue]. Those allow you to list the metadata for all files and folders under a certain path. The returned metadata will include both client_modified and server_modified. Click through the "Metadata" documentation there for more information on the returned metadata fields.

By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints. 

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?