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
DataConnection
A working Data Connection Type found for this profile
public FtpDataConnectionType DataConnection { get; set; }
Property Value
Encoding
A working Encoding setting found for this profile
public Encoding Encoding { get; set; }
Property Value
EncodingVerified
If the server surely supports the given encoding.
public bool EncodingVerified { get; set; }
Property Value
Encryption
A working Encryption Mode found for this profile
public FtpEncryptionMode Encryption { get; set; }
Property Value
Host
The host IP address or URL of the FTP server
public string Host { get; set; }
Property Value
Protocols
A working Ssl Protocol setting found for this profile
public SslProtocols Protocols { get; set; }
Property Value
RetryAttempts
A working RetryAttempts setting found for this profile, or 0 if default value should be used
public int RetryAttempts { get; set; }
Property Value
SocketPollInterval
A working SocketPollInterval setting found for this profile, or 0 if default value should be used
public int SocketPollInterval { get; set; }
Property Value
Timeout
A working Timeout setting found for this profile, or 0 if default value should be used
public int Timeout { get; set; }
Property Value
Methods
ToCode()
Generates valid C# code for this connection profile.
public string ToCode()