[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: Andreas Schneider <asn@xxxxxxxxxxxxxx>
- Reply-to: libssh@xxxxxxxxxx
- Date: Thu, 18 Jan 2024 13:35:08 +0100
- To: libssh@xxxxxxxxxx
- Cc: Ogogon !!! <ogogon@xxxxxxxxxx>
On Thursday, 18 January 2024 10:37:18 CET Ogogon !!! wrote: > 18.01.2024 11:53, Jakub Jelen wrote: > > 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. > > Thank you. However, if I understand correctly, this requires that ftpd > be installed and running on the remote machine. No, you need an SSH subsystem called sftp-server. For example OpenSSH provides one or you can implement one with libssh :-) Cheers Andreas -- Andreas Schneider asn@xxxxxxxxxxxxxx GPG-ID: 8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D
Time of a file on a remote machine via SCP API? | Ogogon !!! <ogogon@xxxxxxxxxx> |
Re: Time of a file on a remote machine via SCP API? | Jakub Jelen <jjelen@xxxxxxxxxx> |
Re: Time of a file on a remote machine via SCP API? | Ogogon !!! <ogogon@xxxxxxxxxx> |