FTP Over SSH (SFTP) In delphi 2010

拜拜、爱过 提交于 2019-11-27 08:09:25

SFTP and "FTP over SSH" are two separate things, and neither involves SSL (as someone else has suggested). SFTP is a sub-protocol of SSH while "FTP over SSH" is good/bad ol' FTP tunnelled through an SSH connection with port forwarding.

Either way, what you're after is a Delphi SSH library. I was unable to find a free SSH library for Delphi and ended purchasing SecureBlackbox (http://www.eldos.com/), which is excellent by the way, although SecureBridge (http://www.devart.com) also looks pretty good.

Eugene Mayevski 'Allied Bits

1) SFTP is NOT FTP-over-SSH. Read the discussion here.

2) For SFTP there are no free Delphi components. You can use our SFTP client and server components for Delphi (part of SecureBlackbox product), which are supported and maintained commercial solution.

I've been using PuTTY's SCP command line utility, with catching it's standard out via the CreateProcess method.

IP*Works include SFTP component - http://www.nsoftware.com/products/component/sftp.aspx and registered user of Delphi XE a XE2 can download this from code central (ID: 28437, ID: 28012)

and for Synapse is in contrib dir demo of simple SFTP - http://synapse.ararat.cz/files/contrib/

Another secure connection component set is from nSoftware: http://www.nsoftware.com/ipworks/ssh/components.aspx

You get SSH Tunnel, and SFTP.

They also offer a full component set of SSL related items: http://www.nsoftware.com/ipworks/ssl/components.aspx

libssh2 (wriiten in C) supports SFTP, and we have two separate Delphi wrappers (not sure which one is better):

https://github.com/pult/libssh2_delphi and https://github.com/dimmaq/delphi-libssh2

SecureBridge from DevArt also support SFTP, comes with full source for the Professional Editon.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!