views:

362

answers:

4



I need to connect to sftp server to download & upload file using C# in .net 3.5.

Is Microsoft/.net 3.5 framework providing any inbuilt tools/mechanism/library to connect to sftp server to download & upload files?

A: 

No, .NET doesn't ship with any SFTP libraries. However, WinSCP is a free utility you can download. I've used it before to download information from a PayPal report server.

It has a nice command line setup for you to automate the download / upload of files too. So from my .NET app, you just invoke the process with the specific arguments and wait until it completes.

Tejs
A: 

The framework does not provide SFTP support.

John Weldon
+2  A: 

There are commercial (http://www.rebex.net/sftp.net/ and http://www.enterprisedt.com/products/edtftpnetpro/overview.html) and free (http://www.tamirgal.com/blog/page/SharpSSH.aspx) solutions, though I personally have no experience with any of them.

Joe
Adding clickable links: http://www.rebex.net/sftp.net/ and http://www.tamirgal.com/blog/page/SharpSSH.aspx
Martin Vobr
A: 

Since there is no native support, uou can search in Google for other, commercial, components, just type something like 'SFTP components .NET'

Nickolay O.