Lazarus

Programming => Networking and Web Programming => Topic started by: sergechelli on July 10, 2022, 01:12:25 am

Title: SFTP Lazarus Linux
Post by: sergechelli on July 10, 2022, 01:12:25 am
Hi

Has anyone make with success an SFTP connection with Lazarus Linux please?

If yes, what component was used?

Many thanks.

Serge
Title: Re: SFTP Lazarus Linux
Post by: MarkMLl on July 10, 2022, 01:18:27 pm
Since nobody else has responded yet: assuming you mean "SSH File Transfer Protocol" searching the forum or wiki doesn't turn much up other than @Thaddy saying he'd add an example (but no indication he had time to do so since in that case it wasn't what somebody was asking for).

MarkMLl
Title: Re: SFTP Lazarus Linux
Post by: sergechelli on July 10, 2022, 10:45:15 pm
Hi MarkMLl,

<< assuming you mean "SSH File Transfer Protocol" >>

Yes it is.

Title: Re: SFTP Lazarus Linux
Post by: rvk on July 10, 2022, 10:58:35 pm
Since nobody else has responded yet: assuming you mean "SSH File Transfer Protocol" searching the forum or wiki doesn't turn much up other than @Thaddy saying he'd add an example (but no indication he had time to do so since in that case it wasn't what somebody was asking for).
Mmm, I have this working with Lazarus and there is info on the forum and wiki about this.
Initially with cryptlib but later libssh2 because of the license restrictions of cryptlib.

https://forum.lazarus.freepascal.org/index.php/topic,28053.msg178389.html#msg178389
Title: Re: SFTP Lazarus Linux
Post by: ArminLinder on July 13, 2022, 10:01:43 pm
I have just started a SFTP server projekt.

A client can be found here:

http://synapse.ararat.cz/files/contrib/ (http://synapse.ararat.cz/files/contrib/)

see sftp.zip

May be Delphi, but conversion should be manageable.



Title: Re: SFTP Lazarus Linux
Post by: rvk on July 13, 2022, 11:27:17 pm
A client can be found here:
http://synapse.ararat.cz/files/contrib/ (http://synapse.ararat.cz/files/contrib/)
see sftp.zip
May be Delphi, but conversion should be manageable.
Yes. But that one uses CryptLib.
It can easily be used in Lazarus (see other topic (https://forum.lazarus.freepascal.org/index.php/topic,28053.0.html) where there is a download too for Lazarus) and I've managed to convert it to use libssh2 (as I mentioned in the other topic (https://forum.lazarus.freepascal.org/index.php/topic,28053.msg178389.html#msg178389)).
TinyPortal © 2005-2018