The Ftp type exposes the following members.
Properties
Name | Description | |
---|---|---|
AbortTimeout |
Gets or sets the length of time before the abort operation times out.
| |
DataAddress |
Gets or sets the IP address announced to the FTP server when establishing an active mode data transfer.
Don't set this unless needed. By default, the value of this property is IPAddress.None which means that
the address of the listening interface is used instead.
This has no effect for passive mode transfers.
| |
DataPortRange |
Gets or sets the local TCP port range used for data transfers. Please note that is usually only useful for active mode (see Passive),
not in passive mode, where only the port range specified at the server is usually important. In passive mode, only set this property if you know
precisely what you are doing, because setting it to a range that is too small or corresponds to the server range might often lead to inability
to transfer many files!
| |
EnabledExtensions |
Gets or sets the bit field specifying the enabled extensions.
| |
Encoding |
Gets or sets the Encoding to use to encode and decode command parameters and server responses.
| |
InstanceId |
Gets instance ID (intended for logging purposes).
(Inherited from NetworkSession.) | |
IsAuthenticated |
Gets a value indicating whether the session is authenticated.
(Overrides NetworkSession..::..IsAuthenticated.) | |
IsBusy |
Gets a value indicating whether there is any operation (method) in progress.
| |
IsConnected |
Gets a value indicating whether the session is connected.
(Overrides NetworkSession..::..IsConnected.) | |
IsSecured |
Gets the value indicating whether the control connection is secured.
| |
KeepAliveDuringTransferInterval | Obsolete. | |
LocalEndPoint |
Gets the local client EndPoint.
| |
LogWriter |
Gets or sets the LogWriter used by this object.
(Inherited from NetworkSession.) | |
MaxDownloadSpeed |
Gets or sets the maximum allowed download speed, in kilobytes per second. For unlimited speed, set this to zero.
| |
MaxUploadSpeed |
Gets or sets the maximum allowed upload speed, in kilobytes per second. For unlimited speed, set this to zero.
| |
Options | Obsolete. | |
Passive |
Gets or sets a value which specifies the way data transfers are made.
| |
Proxy |
Gets or sets the network proxy to use to access a remote server.
| |
RemoteEndPoint |
Gets the remote server EndPoint.
| |
SecureTransfers |
Gets or sets a value which specifies whether data transfers are secure.
| |
ServerName |
Gets the server name, if available.
(Inherited from NetworkSession.) | |
ServerPort |
Gets the server port, if available.
(Inherited from NetworkSession.) | |
Settings |
Gets or sets FTP object settings.
| |
State |
Gets the current state of the Ftp object.
| |
SupportedExtensions |
Gets the bit field specifying the extensions supported by the server.
| |
Timeout |
Gets or sets the length of time in milliseconds before the operation times out (specify -1 or 0 to indicate that the request does not time out).
| |
TlsDebugLevel | Obsolete. | |
TlsSocket |
Returns the TLS/SSL socket of secured control connection.
| |
TransferMode |
Gets or sets the data transfer mode.
| |
TransferState |
Gets the current transfer state of the Ftp object.
| |
TransferType |
Gets or sets the data transfer type.
| |
UploadBufferLength |
Gets or sets the size of the upload buffer. Allowed values are 2KB to 16MB. Default is 16KB (4KB on .NET CF).
| |
UserName |
Gets the authenticated user name, if available.
(Inherited from NetworkSession.) | |
Version |
Returns the version of the FTP component.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IFtp..::..Settings | ||
IFtp..::..TransferType |