Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
ncw
10 years agoCollaborator | Level 8
Is it possible to set client_modified on an existing file in v2 API?
Being able to set client_modified on an existing file would be really helpful for rclone.
I looked through the API methods and couldn't see a way but I'm hoping I missed it!
Thanks
Nick
- 8 years agoJust to be clear, I've sent this feature request along, but I can't promise if/when it might be implemented.
Alexandra F.1
10 years agoNew member | Level 1
It's not currently possible to override the client_modified value set by the client using the API, but I'll be sure to pass this along as a feature request.
bliang
8 years agoNew member | Level 2
Is there any update on this feature request?
- Greg-DB8 years ago
Dropbox Community Moderator
The upload endpoints, such as /2/files/upload, do now allow you to explicitly set `client_modified` when uploading a new version of a file.
For reference, do you need to be able to do so without uploading a new version?
- ncw8 years agoCollaborator | Level 8
> For reference, do you need to be able to do so without uploading a new version?
Yes that would be ideal.
Rclone uses `client_modified` to save the modification times of files. If a user just does `touch file` then it would be nice to be able to just set the `client_modified` without upload the whole file again.
At the moment rclone will upload the whole file again just to set the modification time which is a bit wasteful. Perhaps there is a better way?
Thanks
Nick
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!