In sftp you may use put -p to preserve the last modification timestamp. How can I do that in Java using JSch?
I use the function put(source, destination, mode), but cannot find a value of mode similar to -p in sftp.
A current timestamp is put on the file at the destination. I want the timestamp from the source.