Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
MichaelBuckley
6 years agoNew member | Level 2
Is it possible to set client_modified when uplading files using /upload_session?
Hello, I am currently attempting to add a feature to our software that sets the client_modified date on every file we upload. This is easily done when uploading files through the /upload route. H...
- 6 years ago
Yes, when using upload sessions, you can set the 'client_modified' when you commit the file via /2/files/upload_session/finish using the 'commit.client_modified' parameter. (Likewise, if you're using /2/files/upload_session/finish_batch, it's the corresponding 'entries.commit.client_modified'.) You can click on the types, e.g., `CommitInfo`, in the documentation to expand them for more information.
Greg-DB
Dropbox Community Moderator
6 years agoYes, when using upload sessions, you can set the 'client_modified' when you commit the file via /2/files/upload_session/finish using the 'commit.client_modified' parameter. (Likewise, if you're using /2/files/upload_session/finish_batch, it's the corresponding 'entries.commit.client_modified'.) You can click on the types, e.g., `CommitInfo`, in the documentation to expand them for more information.
- MichaelBuckley6 years agoNew member | Level 2
Thank you, Greg. That did work for me. I was trying to put the client_modified at the top level of the parameters to /upload_session/finish, as we do with /upload, rather in commit.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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!