cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Looking for some photography tips this holiday period? You can find some in our Photographers Group here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

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

SHow file creation Date using server time

SHow file creation Date using server time

Jaime_SVQ
Explorer | Level 3

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 falsified just changing the PC time.

 

 

Can you help me, please

6 Replies 6

Mark
Super User II
Not sure what you are actually trying to do, however, no, I'm afraid not. It isnt possible to specify which server dates/times a file relate to.

www.dropbox.com/events, however, will show when things were uploaded/deleted etc.

 


:penguin::penguin: - :penguin: - :penguin: - :penguin:


Heart Did this post help you? If so please mark it for some Kudos below. 


:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.


:arrows_counterclockwise: Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible! 


 

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
Super 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 🙂

 


:penguin::penguin: - :penguin: - :penguin: - :penguin:


Heart Did this post help you? If so please mark it for some Kudos below. 


:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.


:arrows_counterclockwise: Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible! 


 

Greg-DB
Dropbox 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_Sev
New member | Level 2
Just 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-DB
Dropbox Staff
Thanks for the additional context!
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    Jaime_Sev New member | Level 2
  • User avatar
    Mark Super User II
  • User avatar
    Jaime_SVQ Explorer | Level 3
What do Dropbox user levels mean?