Example #1
0
 /// <summary> Redefine connect for FtpClient : authentication on the Proxy  </summary>
 /// <param name="stream">The socket stream.</param>
 protected override void Connect(FtpSocketStream stream, string host, int port, FtpIpVersion ipVersions)
 {
     stream.Connect(Proxy.Host, Proxy.Port, InternetProtocolVersions);
 }
Example #2
0
 /// <summary> Redefine connect for FtpClient : authentication on the Proxy  </summary>
 /// <param name="stream">The socket stream.</param>
 protected override void Connect(FtpSocketStream stream)
 {
     stream.Connect(Proxy.Host, Proxy.Port, InternetProtocolVersions);
 }