views:

82

answers:

1

I have a project already written using .Net's WebClient class. It works great for FTP and WebDAV resources, but how can I get it to work with SCP or SFTP?

+1  A: 

The .Net framework contains no built-in SCP support; try SharpSSH.

The FtpWebRequest class supports FTPES by setting the EnableSsl property, but WebClient doesn't expose it, so you'll have to use FtpWebRequest directly.

SLaks