How to preserve timestamp of uploaded file via FTP?
I copy photos from my laptop to my server via FTP. The thing is every uploaded files' timestamp is the time I copied not I took.
For example,
-
I have taken the photo 2017-01-01 12:00
-
timestamp of the file in my laptop is the same, 2017-01-01 12:00
-
and I copied the file in 2017-01-10 13:00,
-
then timestamp of the uploaded file is 2017-01-10 13:00
How can I preserve the timestamp of uploaded file the same as the source file?
Edited 26 Jan 2017. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 5pp415
7 comments
I don't think this is possible with ftp, use sftp
do you mean it is possible in SFTP then ?
yes