Table of Contents

Class FtpClientSocks4Proxy

Namespace
FluentFTP.Proxy.SyncProxy
Assembly
FluentFTP.dll

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 FtpSocketStream
host string
port int
ipVersions FtpIpVersion

Create()

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

protected override BaseFtpClient Create()

Returns

BaseFtpClient

Handshake()

Called during Connect(). Typically extended by FTP proxies.

protected override void Handshake()