Table of Contents

Class AsyncFtpClientSocks5Proxy

Namespace
FluentFTP.Proxy.AsyncProxy
Assembly
FluentFTP.dll

A FTP client with a SOCKS5 proxy implementation.

public class AsyncFtpClientSocks5Proxy : AsyncFtpClientProxy, IInternalFtpClient, IAsyncFtpClient, IDisposable, IAsyncDisposable, IBaseFtpClient
Inheritance
AsyncFtpClientSocks5Proxy
Implements
Inherited Members
Extension Methods

Constructors

AsyncFtpClientSocks5Proxy(FtpProxyProfile)

Setup a SOCKS5 proxy

public AsyncFtpClientSocks5Proxy(FtpProxyProfile proxy)

Parameters

proxy FtpProxyProfile

Methods

ConnectAsync(FtpSocketStream, string, int, FtpIpVersion, CancellationToken)

protected override Task ConnectAsync(FtpSocketStream stream, string host, int port, FtpIpVersion ipVersions, CancellationToken token)

Parameters

stream FtpSocketStream
host string
port int
ipVersions FtpIpVersion
token CancellationToken

Returns

Task

ConnectAsync(FtpSocketStream, CancellationToken)

protected override Task ConnectAsync(FtpSocketStream stream, CancellationToken cancellationToken)

Parameters

stream FtpSocketStream
cancellationToken CancellationToken

Returns

Task

Create()

Creates a new instance of this class. Useful in FTP proxy classes.

protected override BaseFtpClient Create()

Returns

BaseFtpClient