IFTPConnection Methods |
Description |
Aborts the current operation. | |
Changes the current/working directory on the server. | |
Sends the CDUP command to the server to go up one directory. | |
Clears the command channel by sending a CCC command. If the CCC server reply is successful the control connection continues in non-secure mode. | |
Closes the connection. To ungracefully close the connection use the Disconnect method. | |
Sends the specified command to the server. | |
Connects to remote host. Remarks | |
Continues a pending operation. This method can resume an operation which returned with FTPLIB_E_PAUSED or FTPLIB_E_MOREDATA. | |
This is CopyFile, a member of class IFTPConnection. | |
This is CreateStreamForRead, a member of class IFTPConnection. | |
This is CreateStreamForWrite, a member of class IFTPConnection. | |
Deletes a file from the server. | |
Disconnects from the remote host. To ungracefully close the connection use the Close method. | |
This is Download, a member of class IFTPConnection. | |
Downloads a file. | |
Uploads the specified local file to the specified remote file. | |
FXP downloads a specified remote file. | |
FXP uploads a specified remote file. | |
Retrieves the hash value of a file or portion specified with nStart and nLen. | |
Retrieves the size of a specified file. | |
This is GetFileSize32, a member of class IFTPConnection. | |
Retrieves the machine list of the specified file. | |
Retrieves the last modified time of a specified file. | |
This is GetModifyTimeAsDate, a member of class IFTPConnection. | |
This is GetSpaceAvailable, a member of class IFTPConnection. | |
Initializes a data transfer. | |
Makes/Creates a new directory. The clients sends a MKD command to create a new directory on the server. | |
Creates a new empty file. The clients sends the STOR command to create a new empty file on the server. | |
Reads the content of the current working directory. The result is stored in the Items property. | |
This is ReadDirectoryEx, a member of class IFTPConnection. | |
Reads the content of the current working directory. | |
Reads the content of the current working directory and saves it into the specified local file. | |
Removes the specified directory. The client sends a RMD command to remove the directory. Due to the nature of FTP the directory is not removed if it's not empty. | |
Renames the specified directory. The client sends RNFR to initiate a rename and completes it with RNTO. | |
Renames a file. The client sends RNFR to initiate a rename and completes it with RNTO. | |
Sets the creation time of the file. | |
This is SetCreateTimeAsDate, a member of class IFTPConnection. | |
This is SetFileLogger, a member of class IFTPConnection. | |
Sets the last modified time of the file. | |
This is SetModifyTimeAsDate, a member of class IFTPConnection. | |
Sets the unix mode of a remote file or folder. The client sends a SITE CHMOD command. If the FTP command is not supported the function fails. | |
Sends STAT command to retrieve statistics or file listing. | |
Updates the WorkingDirectory property by sending a PWD command to the server. | |
Uploads a specified local file to a specified remote file. | |
Uploads the specified local file to a specified remote file. |
Topic |
Description |
The methods of the IFTPConnection class are listed here. | |
The properties of the IFTPConnection class are listed here. |
IFTPConnection Properties |
Description |
This is Aborted, a member of class IFTPConnection. | |
The account name being used together with the ACCT command. Default: empty | |
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 | |
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 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 | |
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 | |
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. | |
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. | |
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. |
Copyright (c) by SmartSoft Ltd. All rights reserved.
|