Ejemplo n.º 1
0
 internal override IFTPStream CreateDataStream(IPAddress address, int port, FTPConnection conn)
 {
     return new SecureFTPStream
     {
         RemoteAddress = address,
         Port = port,
         ParentConnection = conn
     };
 }
Ejemplo n.º 2
0
 internal virtual IFTPStream CreateDataStream(IPAddress address, int port, FTPConnection conn)
 {
     return new FTPStream
     {
         RemoteAddress = address,
         Port = port,
         ParentConnection = conn
     };
 }