You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Jaime_SVQ
8 years agoExplorer | Level 3
SHow file creation Date using server time
I need to show that a file was not modified since uploaded to dropbox. I mean, i need to show the creation and midifcation date of a file on the server side, because the creation date in windows can...
Jaime_SVQ
Explorer | Level 3
Thanks Mark for your quick answer.
I want to be able to show to other people that a file has not been modified since it was uploaded to dropbox.
As the file modified time can be set manually in windows, I want to show the timestamp of the file on the server side, a parameter that I can not modify.
I have been reading the API set of dropbox and found that the command "alpha/get metadata" returns something like this:
"client_modified": "2017-05-25T11:21:40Z", "server_modified": "2017-05-25T17:13:19Z", "rev": "a874f899e6c", "content_hash": "101e42861bc47204006ef0a6afdbef8d5e2e4ff75cce321821830a457919dfea"
That information includes a hash of the file, and also a server modified timestamp.
Even more, the command "list_revisions" give that informatio for all the previos version of the file, with several timestamps and hash of the file.
Do you think that those arguments can be used to show, beyond reasonable doubt (but not necesary in legal terms), that the file has not been modified?
Thanks, Jaime
Mark
8 years agoSuper User II
Ah, if you'd said you were using the API I'd have moved you to the API section of the forums - your current post is in the general area!
Hopefully one of the team will have some ideas from there :)
Hopefully one of the team will have some ideas from there :)
- Greg-DB8 years agoDropbox Staff
The Dropbox API does offer the client_modified and server_modified times, as you mentioned, but it unfortunately doesn't offer the created time. I'll send this along as a feature request, but I can't make any promises as to if or when that would be added.
The list_revisions functionality does show a list of files revisions, but that isn't guaranteed to the full list of revisions that ever existed. It will only list the versions still available, depending on the "version history period" for the account.
- Jaime_Sev8 years agoNew member | Level 2Just a comment about the creation time of a file, in windows 7 that is for me a very important parameter!!. For example, I can order the files for creation instead of modification, and get a more constant ordering than the always changing modification time. Also, it is valuabe information about when i was working on that issue. For example, i have hundreds of pdf, doc, xls files created in my everyday work and knowing the creation date is important for me.
However, a caveat of all cloud services, (not only dropbox) is that they do not keep that info, just uses as creation date the time of sync. For that reason, i use to "move" the files from my home computer to a pendrive, then "Move" again to my work computer. Note that even windows have that problem, just copying the files generates a new creation date, you need to move files or use robocopy tool.
I understand also that operating in that way, you can know which was the "original" file and the "copied" file, lookig at the creation date of each one.
Best regards,
Jaime- Greg-DB8 years agoDropbox StaffThanks for the additional context!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,888 PostsLatest Activity: 23 hours agoIf 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!