Hello,
Does anyone know if it possible to find the last modified time of a
file that has just been uploaded.
I.e. I save a file on my computer at Friday 4th July 1.40pm. I then
upload this file 1 hour later. I have tried
File.mtime(photo.path)
but this only returns the timestamp of when the file was saved as a
temp file (i.e. 2.40pm). Is it possible to find the original last
modified time (1.40pm)
Hope someone can help
Thanks
Iain
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---