Regarding SFTP component.

Asked By Gurmeet Singh
10-Apr-08 08:24 AM
Earn up to 0 extra points for answering this tough question.

Hi Friends

I would like to make SFTP component that connect to SFTP server. I have gone through the System.net.ftpclient class and use FTPwebRequest class but not able to connect to server. I have used chilkanet third party dll that connect to SFTP server only if i disable SSL layer from that server in that case it act like simple FTP server. So need any library class that help me to connect to the server and do file operations like put and get. i have gone through the sites and only get libraries for simple FTP terminal connection but i need SFTP library. please suggest or guide.

  Try this

Aravind Kumar replied to Gurmeet Singh
10-Apr-08 07:59 AM

I've heard that there are very few components which support SFTP thru .Net. Here is one among that.

http://www.freedownloadscenter.com/Programming/Components_and_Libraries/Rebex_SFTP_for__NET_Download.html

  FtpWebRequest Class in System.Net namespace helps in implementing FTP

logiclabz .com replied to Gurmeet Singh
14-Apr-08 09:44 AM
Sample Link:
FTP File Upload using FtpWebRequest in .Net C#

FtpWebRequest Class in System.Net namespace helps in implementing a File Transfer Protocol (FTP) client in .Net.
To obtain an instance of FtpWebRequest, use the Create method.
The URI is of the form "ftp://127.0.0.1/path", first the .NET Framework logs into the FTP server using the user name and password set by the Credentials property, then the current directory is set to <UserDirectory>/path.

When using an FtpWebRequest object to upload a file to a server, you must write the file content to the request stream obtained by calling the GetRequestStream method.
You must write to the stream and close the stream before sending the request.

  Regarding SFTP component

Bruce Blackshaw replied to Gurmeet Singh
26-Nov-08 01:46 AM

Why not try edtFTPnet/PRO? It supports SFTP (and FTPS) in a single component, has many GUI components included, and new features are being constantly added.

See http://www.enterprisedt.com/products/edtftpnetpro/overview.html  for more details and to download a trial.

 

Create New Account