Beispiel #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);
 }
Beispiel #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);
 }