Class FtpClientHttp11Proxy
A FTP client with a HTTP 1.1 proxy implementation.
public class FtpClientHttp11Proxy : FtpClientProxy, IInternalFtpClient, IFtpClient, IDisposable, IBaseFtpClient
- Inheritance
-
FtpClientHttp11Proxy
- Implements
- Inherited Members
- Extension Methods
Constructors
FtpClientHttp11Proxy(FtpProxyProfile)
A FTP client with a HTTP 1.1 proxy implementation
public FtpClientHttp11Proxy(FtpProxyProfile proxy)
Parameters
proxy
FtpProxyProfileProxy information
Methods
Connect(FtpSocketStream)
Connects to the server using an existing FtpSocketStream
protected override void Connect(FtpSocketStream stream)
Parameters
stream
FtpSocketStreamThe existing socket stream
Connect(FtpSocketStream, string, int, FtpIpVersion)
Connects to the server using an existing FtpSocketStream
protected override void Connect(FtpSocketStream stream, string host, int port, FtpIpVersion ipVersions)
Parameters
stream
FtpSocketStreamThe existing socket stream
host
stringHost name
port
intPort number
ipVersions
FtpIpVersionIP version to use
Create()
Creates a new instance of this class. Useful in FTP proxy classes.
protected override BaseFtpClient Create()
Returns
Handshake()
Redefine the first dialog: HTTP Frame for the HTTP 1.1 Proxy
protected override void Handshake()