File Transfer Protocol (FTP)
CLASS aprFTP
Description
The aprFTP Class allows the developer to connect to a remote server and perform file and directory
maintenance functions. In addition to copying files between the local and remote host, the aprFTP Class
can be used to list the files on the remote system, remove and rename files, create and remove directories
and perform other server-specific functions.
For Secure Edition information, see SLL Certificates.
|
Variables | ||
|
|
Holds a description for the Last error code | |
|
|
Enable/Disable extended Debug notifications. | |
|
|
Enable/Disable Callstack List to be included in Error Messages (:Debug) | |
|
|
Holds the last error code | |
|
|
Holds the Initial Session handle value (used as the Default Session handle) | |
|
|
|
|
|
Methods | ||
|
|
Creates a new instance of the aprFTP Class | |
|
|
Releases the system resources assigned by the :New() Method. | |
|
|
|
|
|
|
Specify the client account for the current session | |
|
|
Allocate the specified number of bytes on the server | |
|
|
Cancel the current blocking operation | |
|
|
Change the current working directory on the server | |
|
|
Change the current working directory on the server | |
|
|
Close the open directory on the server | |
|
|
Close the current file on the server | |
|
|
Send a command to the remote server | |
|
|
Establish a client connection with a remote server | |
|
|
Establish a connection with the specified server, and define security-relation options to be used | |
|
|
Create the specified directory on the server | |
|
|
Disconnect the client session from the remote server | |
|
|
Determine if the end-of-file has been reached | |
|
|
Initiate a file-listing command | |
|
|
Return the size of an internal buffer used during data transfers | |
|
|
Return the number of bytes current copied | |
|
|
Get the current working directory on the remote server | |
|
|
Get the format which is used by the server to list files | |
|
|
Copy a file from the server to the local system | |
|
|
Return the size of a file on the server | |
|
|
Return the current file mask string | |
|
|
Return file status information from the server | |
|
|
Return the first file from the file list returned by the server | |
|
|
Copy multiple files from the server to the local system | |
|
|
Return the next file from the file list returned by the server | |
|
|
Return the proxy type selected by the client | |
|
|
Return the result code from the previous command | |
|
|
Return the result string from the previous command | |
|
|
Return security information about the current client connection | |
|
|
Return a handle to the command channel socket | |
|
|
Return system status of remote server | |
|
|
Get system information about the server | |
|
|
Return file transfer statistics | |
|
|
Return the amount of time to transfer the previous file | |
|
|
Determine if the current operation is blocked | |
|
|
Login to the remote server | |
|
|
Logout from the remote server | |
|
|
Mount a structure (filesystem) on the server | |
|
|
Open the specified directory for reading | |
|
|
Open the specified file for reading or writing | |
|
|
Specify the client password for the current session | |
|
|
Establish a connection with a proxy server | |
|
|
Establish a connection with an FTP proxy server, and define security-relation options to be used | |
|
|
Copy a file from the local system to the server | |
|
|
Copy multiple files from the local system to the server | |
|
|
Read data from the server | |
|
|
Remove a directory from the server | |
|
|
Remove a file from the server | |
|
|
Rename a file on the server | |
|
|
Reset the client connection | |
|
|
Restart a file transfer at the specified offset | |
|
|
Set the size of an internal buffer used during data transfers | |
|
|
Set the format which is used by the server to list files | |
|
|
Set the current file mask | |
|
|
Set the current file mode | |
|
|
Set the current file data structure | |
|
|
Set the current file type | |
|
|
Set the last error code | |
|
|
Set the server in passive mode | |
|
|
Get/Set the number of seconds until an operation times out | |
|
|
Enable/Disable logging of socket-level calls to a file | |
|
|
Specify the user name for the current session | |
|
|
Write data to the server | |