Click here to Skip to main content
11,930,048 members (43,347 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# FTP
Hey Everyone,

looking for an example on downloading and uploading from FTPS site, any help would be great!
Posted 11-Feb-13 15:30pm
Rate this: bad
Please Sign up or sign in to vote.

Solution 3

SFTP means SSH File Transfer Protocol:[^].

As this protocol is not directly supported in .NET FCL, you will have to use some 3-rd party library. Please see:[^],[^],[^],[^].

See also:[^].

You can try to find some more:[^].

Jaslier Alex 12-Jan-15 5:46am
I have used sharpssh, it's very well lib for .net
Sergey Alexandrovich Kryukov 12-Jan-15 14:12pm
Good. You are welcome. Will you accept the answer formally (green "Accept" button)?
Jaslier Alex 13-Jan-15 3:35am
Yes i accept your answer, but i haven't the gree button. :(
Sergey Alexandrovich Kryukov 13-Jan-15 10:43am
Opps! Thank you for telling me. I haven't seen that button for a long time as I have nothing to accept. What is that now?
Rate this: bad
Please Sign up or sign in to vote.

Solution 4


I'm a bit confused, because title says 'SFTP', tag 'FTP' and answer body 'FTPS'. They are not the same.

FTP - is the oldest one. Plain file transfer protocol run over unsecured communication channel.

FTPS (or FTP/SSL) is FTP run over TLS/SSL secured communication channel. TLS/SSL channel intialization can be done in flavours called 'explicit' or 'implicit'. See for more info on TLS/SSL implicit and explicit modes[^].

SFTP - another, completely unrelated file transfer protocol. SFTP stands for SSH File Transfer protocol.

More info can be found here:[^]

API support

FTP - supported via FtpWebRequest included in .NET
FTPS - implicit - supported in FtpWebRequest in .NET
FTPS - explicit - not support by .NET out of the box. You'll need a third party support.
SFTP - not support by .NET out of the box. You'll need a third party support.

For FTP I would suggest trying Rebex FTP/SSL[^] - it supports FTP, FTP/SSL implicit and FTP/SSL explicit.

For SFTP I would suggest Rebex SFTP[^]. If you get both of them you'll be even able to write code which uses both SFTP and FTP using common IFtp API[^].

Other options for SFTP was already mentioned on post above.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151126.1 | Last Updated 17 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100