How to connect to FTP Server using SSH FTP or SFTP in C#? [duplicate]
Possible Duplicates:
How to map an ftp share folder to a local drive using C# ? Anybody has Client library on SFTP in C# ?
hi,
How to connect to FTP Server using SSH FTP or SFTP in C# ? Any code snippet.
There are not a lot of options that I'm aware of, unless things have changed in the last year. We ended up just using a third party (non .NET) app that was scriptable: http://winscp.net/eng/index.php
We created a script, and called it from within our .NET app using the System.Diagnostic.Process class.
However, Rebex DOES have a .Net component for this if you're willing to pay for it. There's also a good explanation of the difference between FTP, FTPS, and SFTP.
http://www.rebex.net/sftp.net/
精彩评论