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?
views:
362answers:
4No, .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.
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.
Since there is no native support, uou can search in Google for other, commercial, components, just type something like 'SFTP components .NET'