Does .NET FtpWebRequest Support both Implicit (FTPS) and explicit (FTPES)?

后端 未结 5 1022
忘了有多久
忘了有多久 2020-11-27 05:10

I am being asked to support implicit and explicit FTPS (also known as FTPES). We are currently using the .NET FtpWebRequest. Does the FtpWebRequest

5条回答
  •  心在旅途
    2020-11-27 05:51

    edtFTPnet/PRO is an FTP client library that also supports FTPS implicit and explicit modes. It's simply a matter of specifying the right protocol:

     SecureFTPConnection conn = new SecureFTPConnection();
     conn.Protocol = FileTransferProtocol.FTPSImplicit;
    
     // set remote host, user, pwd etc ...
    
     // now connect
     conn.Connect();
    

    The same component supports SFTP also.

    And yes, I am one of the developers of this component (and of edtFTPnet, the free, open source .NET FTP client).

提交回复
热议问题