Secure FTP Sites

Jan 25, 2011 at 2:04 AM

Hey guys,

I was just wondering...

Can ftpLib access SFTP, FTPS and stuff ?

For SFTP - can I use Explicit security TLS/SSL ? How to ?

Coordinator
Jan 26, 2011 at 7:04 PM

I believe SFTP is a different protocol utilizing SSH, but I'm not 100% sure. I've never tried it.

Jan 26, 2011 at 7:49 PM

This is possible with FtpWebRequest using EnableSsl property. .NET supports FTP (common) and FTPeS (FTP explicit security over TLS/SSL)

But since ftplib is a wrapper around inetlib.dll, it might need some native work underneath if it's already not supported.

There are 2 variations on FTPS -- explicit and implicit security. explicit is supported, implicit is not. MSDN states that implicit security will be supported in a later version (though the article was about .NET 2 and it's still not supported.)

Since Implicit security is not wide used and is mostly used by linux based servers, I don't think .NET will ever support it.

Feb 16, 2011 at 1:49 PM
scottmeyer wrote:

I believe SFTP is a different protocol utilizing SSH, but I'm not 100% sure. I've never tried it.

Correct. SFTP  != FTPS

SFTP uses SSH and FTPS is essentially FTP using SSL/TLS encryption.