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 !!! <ogo...@ogogon.org> 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. >