Example #1
0
        protected override void Connect(FtpSocketStream stream, string host, int port, FtpIpVersion ipVersions)
        {
            base.Connect(stream);
            var proxy = new SocksProxy(Host, port, stream);

            proxy.Negotiate();
            proxy.Authenticate();
            proxy.Connect();
        }
Example #2
0
        protected override void Connect(FtpSocketStream stream)
        {
            base.Connect(stream);
            var proxy = new SocksProxy(Host, Port, stream);

            proxy.Negotiate();
            proxy.Authenticate();
            proxy.Connect();
        }