Class FtpClientSocks4Proxy
A FTP client with a SOCKS4 proxy implementation.
public class FtpClientSocks4Proxy : FtpClientProxy, IInternalFtpClient, IFtpClient, IDisposable, IBaseFtpClient
- Inheritance
-
FtpClientSocks4Proxy
- Implements
- Inherited Members
- Extension Methods
Constructors
FtpClientSocks4Proxy(FtpProxyProfile)
Setup a SOCKS4 proxy
public FtpClientSocks4Proxy(FtpProxyProfile proxy)
Parameters
proxy
FtpProxyProfile
Methods
Connect(FtpSocketStream)
Connect
protected override void Connect(FtpSocketStream stream)
Parameters
stream
FtpSocketStream
Connect(FtpSocketStream, string, int, FtpIpVersion)
Connect
protected override void Connect(FtpSocketStream stream, string host, int port, FtpIpVersion ipVersions)
Parameters
stream
FtpSocketStreamhost
stringport
intipVersions
FtpIpVersion
Create()
Creates a new instance of this class. Useful in FTP proxy classes.
protected override BaseFtpClient Create()
Returns
Handshake()
Called during Connect(). Typically extended by FTP proxies.
protected override void Handshake()