Similarly to How to maintain a file's 'last modified' date ? I need to retain the date while copying the file by Krusader or in a 'Home Folder' window to another PC connected by SSH. Is it possible?
You can do this with the
-p option to
scp. As explained in
-p Preserves modification times, access times, and modes from the original file.
So, just run
scp source_file user@host:/remote/path/file