Re: Time of a file on a remote machine via SCP API?

2024-01-18 Thread g4-lisz
On 18.01.24 06:48, Ogogon !!! wrote: Greetings, colleagues! I want to write a utility that will copy only changed files. I guess you've heard of rsync... It can use SSH.

Re: Time of a file on a remote machine via SCP API?

2024-01-18 Thread Andreas Schneider
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. > >

Re: Time of a file on a remote machine via SCP API?

2024-01-18 Thread Ogogon !!!
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

Re: Time of a file on a remote machine via SCP API?

2024-01-18 Thread Jakub Jelen
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,

Time of a file on a remote machine via SCP API?

2024-01-17 Thread Ogogon !!!
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.