Class FtpClientSocks4aProxy
A FTP client with a SOCKS4a proxy implementation.
public class FtpClientSocks4aProxy : FtpClientProxy, IInternalFtpClient, IFtpClient, IDisposable, IBaseFtpClient
- Inheritance
-
FtpClientSocks4aProxy
- Implements
- Inherited Members
- Extension Methods
Constructors
FtpClientSocks4aProxy(FtpProxyProfile)
Setup a SOCKS4a proxy
public FtpClientSocks4aProxy(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()