[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Question about sftp and timestamp


hi all,

i have a question about copying a file with libssh sftp.

If i copy a file with sftp_write(), the copied file gets the
timestamp of the actual copy date and time of the system.

Is there a option to keep the same timestamp for
a copied file like in the original file?

Like the cp command does with the option
"-p same as --preserve=mode,ownership,timestamps"


regards,
Claudio

Follow-Ups:
Re: Question about sftp and timestampTilo Eckert <tilo.eckert@xxxxxxx>
Archive administrator: postmaster@lists.cynapses.org