Table of Contents

Class FtpProfile

Namespace
FluentFTP
Assembly
FluentFTP.dll

The current "profile" defining the client

public class FtpProfile
Inheritance
FtpProfile
Inherited Members
Extension Methods

Constructors

FtpProfile()

public FtpProfile()

Properties

Credentials

The FTP username and password used to login

public NetworkCredential Credentials { get; set; }

Property Value

NetworkCredential

DataConnection

A working Data Connection Type found for this profile

public FtpDataConnectionType DataConnection { get; set; }

Property Value

FtpDataConnectionType

Encoding

A working Encoding setting found for this profile

public Encoding Encoding { get; set; }

Property Value

Encoding

EncodingVerified

If the server surely supports the given encoding.

public bool EncodingVerified { get; set; }

Property Value

bool

Encryption

A working Encryption Mode found for this profile

public FtpEncryptionMode Encryption { get; set; }

Property Value

FtpEncryptionMode

Host

The host IP address or URL of the FTP server

public string Host { get; set; }

Property Value

string

Protocols

A working Ssl Protocol setting found for this profile

public SslProtocols Protocols { get; set; }

Property Value

SslProtocols

RetryAttempts

A working RetryAttempts setting found for this profile, or 0 if default value should be used

public int RetryAttempts { get; set; }

Property Value

int

SocketPollInterval

A working SocketPollInterval setting found for this profile, or 0 if default value should be used

public int SocketPollInterval { get; set; }

Property Value

int

Timeout

A working Timeout setting found for this profile, or 0 if default value should be used

public int Timeout { get; set; }

Property Value

int

Methods

ToCode()

Generates valid C# code for this connection profile.

public string ToCode()

Returns

string