SmartFTP FTP Library
IFTPConnection Properties

The properties of the IFTPConnection class are listed here.

Public Property 
Description 
This is Aborted, a member of class IFTPConnection. 
The account name being used together with the ACCT command.
Default: empty 
Busy 
Indicates whether an operation is in progress or paused. 
Retrieves the ClientId object. 
Specifies the code page used to perform conversations.
Default: -1 (Auto). 
Specified whether the protection of command channel (control connection).
Default: ftpDataProtectionPrivate 
This is CompressionLevel, a member of class IFTPConnection. 
Contains the connection status. 
The protection for secure data transfers.
Default: ftpDataProtectionClear 
The data transfer mode.
Default: ftpDataTransferModeStream 
The speed limit in bytes/second of the data transfer.
Default: 0 (no limit) 
The data transfer type.
Default: ftpDataTransferTypeImage 
FEAT 
This is FEAT, a member of class IFTPConnection. 
The size of the buffer in bytes when reading data from a local file.
Default: 32768 
Specifies whether the password is replaced with "(hidden)" in the log.
Default: true 
Host 
Host name of the server. 
This is IdleKeepAlive, a member of class IFTPConnection. 
Contains the URL to the IP repeater.
Default: empty 
Interval in s. 
Contains the last command sent to the server. 
Contains the data connection error. 
Contains the last error. 
Contains the number of bytes read/written from/to the file/stream during the last transfer. 
Contains the last server reply. 
Contains the 3 digit reply code of the last server reply. 
Contains the number of transferred bytes (64-bit) during the last data transfer. 
Contains the number of transferred bytes (high 32-bit integer) during the last data transfer. 
Contains the number of transferred bytes (low 32-bit integer) during the last data transfer. 
Contains the average transfer speed in bytes/second of the last data transfer. 
Contains the total time in milliseconds of the last data transfer. 
Specifies whether to use the ports provided by the IFTPPortPool.
Default: false 
Specifies the LIST options to be used for the LIST command. 
This is Logger, a member of class IFTPConnection. 
If true client sends USER/PASS/ACCT pair to login.
Default: true 
MLST 
Specifies whether to use the MLSD command to list directories.
Default: true 
Specifies whether to use passive mode.
Default: true 
 
This is PassiveMode, a member of class IFTPConnection. 
The password to login to the FTP server. 
Contains the IP address of the peer.
The value is represented as a string in the following format: a.b.c.d 
Port 
The port number of the server.
Default: 21 
The IP address being used when PortMode is set to ftpPortModeManual.
Default: empty 
Specifies the port mode for the PORT command.
Default: ftpPortModeDefault 
Specifies whether to fall back to PROT C if PROT P fails.
Default: true 
Specifies the protocol for the FTP connection.
Default: ftpProtocolNormal 
Specifies the protocol family of the connection.
Default: ftpProtocolFamilyUNSPEC 
The preferred protocol family.
Default: ftpProtocolFamilyINET4 
Contains the Proxy object. 
Specifies whether to the HOST command is sent.
Default: false 
Contains a server state. 
This is SocketSettings, a member of class IFTPConnection. 
This is SpeedLimitSettings, a member of class IFTPConnection. 
SSCN 
Specifies whether to use use the SSCN command.
Default: false 
This is SSLSocketLayer, a member of class IFTPConnection. 
Specifies the timeout in seconds for the control and data connection.
Default: 30 
NOOP commands are sent during FTP data transfers. 
UPnP 
Specifies whether port mappings for Active Mode (PORT) are automatically created and removed for data connections if a UPnP enabled router is present. 
Specifies whether the component uses a message loop while waiting for an operation to return. The message loop dispatches the windows messages queued in the windows message queue.
Default:
FTPConnectionMTA: false
FTPConnectionSTA: true 
The user name to login to the FTP server.
Default: empty 
Returns the current working directory. (read-only)
The directory is extracted from the last successful PWD server reply. Double quotes are automatically converted. 
What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.