[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Time of a file on a remote machine via SCP API?
[Thread Prev] | [Thread Next]
- Subject: Re: Time of a file on a remote machine via SCP API?
- From: Jakub Jelen <jjelen@xxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 18 Jan 2024 09:53:28 +0100
- To: libssh@xxxxxxxxxx
Hi, no, it is not possible with the scp API. The SCP is very limited and can only send and receive files (and is deprecated [1]). You could do this though with the SFTP API. [1] https://gitlab.com/libssh/libssh-mirror/-/blob/master/CHANGELOG?ref_type=heads#L24 Regards,. Jakub On Thu, Jan 18, 2024 at 6:56 AM Ogogon !!! <ogogon@xxxxxxxxxx> wrote: > > Greetings, colleagues! > > Please tell me, is it possible to get the creation or modification time > of a file on a remote machine using the SCP API? > I want to write a utility that will copy only changed files. > > Ogogon. >
Re: Time of a file on a remote machine via SCP API? | Ogogon !!! <ogogon@xxxxxxxxxx> |
Time of a file on a remote machine via SCP API? | Ogogon !!! <ogogon@xxxxxxxxxx> |