Class AsyncFtpClientProxy
- Namespace
- FluentFTP.Proxy.AsyncProxy
- Assembly
- FluentFTP.dll
Abstraction of an FtpClient with a proxy
public abstract class AsyncFtpClientProxy : AsyncFtpClient, IInternalFtpClient, IAsyncFtpClient, IDisposable, IAsyncDisposable, IBaseFtpClient
- Inheritance
-
AsyncFtpClientProxy
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
AsyncFtpClientProxy(FtpProxyProfile)
A FTP client with a HTTP 1.1 proxy implementation
protected AsyncFtpClientProxy(FtpProxyProfile proxy)
Parameters
proxy
FtpProxyProfileProxy information
Properties
Proxy
The proxy connection info.
protected FtpProxyProfile Proxy { get; }
Property Value
Methods
ConnectAsync(FtpSocketStream, string, int, FtpIpVersion, CancellationToken)
Redefine connect for FtpClient : authentication on the Proxy
protected override Task ConnectAsync(FtpSocketStream stream, string host, int port, FtpIpVersion ipVersions, CancellationToken token)
Parameters
stream
FtpSocketStreamhost
stringport
intipVersions
FtpIpVersiontoken
CancellationToken
Returns
ConnectAsync(FtpSocketStream, CancellationToken)
Redefine connect for FtpClient : authentication on the Proxy
protected override Task ConnectAsync(FtpSocketStream stream, CancellationToken token)
Parameters
stream
FtpSocketStreamtoken
CancellationToken