[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Question about sftp and timestamp
[Thread Prev] | [Thread Next]
- Subject: Question about sftp and timestamp
- From: "Fischer, Claudio" <Claudio.Fischer@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Tue, 13 Dec 2016 12:36:46 +0000
- To: "libssh@xxxxxxxxxx" <libssh@xxxxxxxxxx>
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
Re: Question about sftp and timestamp | Tilo Eckert <tilo.eckert@xxxxxxx> |