Click here to Skip to main content
Rate this: bad
good
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
bobb024347
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

SFTP means SSH File Transfer Protocol: http://en.wikipedia.org/wiki/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:
http://sourceforge.net/projects/sharpssh/[^],
http://www.tamirgal.com/blog/page/SharpSSH.aspx[^],
http://www.routrek.co.jp/en/product/varaterm/granados.html[^],
http://www.eldos.com/sbb/sftp.net/sftp-net-cs-sample.php[^].
 
See also: http://www.dart.com/sftp-ssh-code-examples-samples.aspx[^].
 
You can try to find some more: http://bit.ly/XsXhy8[^].
 
—SA
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

SFTP, FTP or FTPS?
 
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:
http://www.rebex.net/kb/secure-ftp/default.aspx[^]
 
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 350
1 Jochen Arndt 190
2 Richard MacCutchan 135
3 Sergey Alexandrovich Kryukov 130
4 DamithSL 95
0 OriginalGriff 6,045
1 DamithSL 4,601
2 Maciej Los 4,087
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,310


Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 8 Oct 2013
Copyright © CodeProject, 1999-2014
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