FTP Component |
The FTP control can be used to transfer files to and from FTP servers using the FTP Protocol. (NOTE: The following is a very short description. For more information, please consult the help files that come with the respective package.) |
The first step in using the control is specifying the RemoteHost, User and Password. The file to upload to or download from is given by the RemoteFile property. The file to download to or upload from is specified by LocalFile. The current path in the server is specified by the RemotePath property. The Passive property is especially useful if the client is behind a firewall which inhibits incoming connections to higher ports.
The control operates by setting appropriate values to the Action property. If LocalFile is set to something other than an empty string, then files are received in LocalFile, otherwise the data is received through the Transfer event. StartTransfer and EndTransfer are fired at the beginning and end of transmission.
The PITrail event traces the interaction between the client and the server (the FTP Protocol Interface connection).
Directory listings are received through the DirList event.
This control requires a Winsock 1.1 compliant TCP/IP stack. This means that the Winsock stack installed in the system must have a version of at least 1.1. In particular, Windows 95, 98, and NT machines with Winsock 2.0 are fully supported.
PROPERTIES |
EVENTS |