开发者

How to connect to FTP Server using SSH FTP or SFTP in C#? [duplicate]

开发者 https://www.devze.com 2023-01-10 19:25 出处:网络
This question already has answers here: 开发者_StackOverflow社区 Closed 12 years ago. Possible Duplicates:
This question already has answers here: 开发者_StackOverflow社区 Closed 12 years ago.

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/

0

精彩评论

暂无评论...
验证码 换一张
取 消