Recent

Author Topic: SFTP Lazarus Linux  (Read 976 times)

sergechelli

  • New member
  • *
  • Posts: 9
SFTP Lazarus Linux
« 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

MarkMLl

  • Hero Member
  • *****
  • Posts: 6692
Re: SFTP Lazarus Linux
« Reply #1 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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

sergechelli

  • New member
  • *
  • Posts: 9
Re: SFTP Lazarus Linux
« Reply #2 on: July 10, 2022, 10:45:15 pm »
Hi MarkMLl,

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

Yes it is.


rvk

  • Hero Member
  • *****
  • Posts: 6169
Re: SFTP Lazarus Linux
« Reply #3 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

ArminLinder

  • Sr. Member
  • ****
  • Posts: 314
  • Keep it simple.
Re: SFTP Lazarus Linux
« Reply #4 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/

see sftp.zip

May be Delphi, but conversion should be manageable.



« Last Edit: July 13, 2022, 10:21:44 pm by Nimral »
Lazarus 3.3.2 on Windows 7,10,11, Debian 10.8 "Buster", macOS Catalina, macOS BigSur, VMWare Workstation 15, Raspberry Pi

rvk

  • Hero Member
  • *****
  • Posts: 6169
Re: SFTP Lazarus Linux
« Reply #5 on: July 13, 2022, 11:27:17 pm »
A client can be found here:
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 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).

 

TinyPortal © 2005-2018