Establishing a Connection | ||
In order to transfer files or use the various file management methods, it is necessary to establish a connection to the server. This is done by calling the Connect method and checking the return value to make sure that the connection was successful. To establish that connection, certain information is required. This includes:
In addition, FTP connections almost always require a user name and password. If neither is specified, the control will attempt an anonymous login. Not all FTP servers support anonymous logins and an error may be returned indicating that the username or password is invalid. In rarer circumstances, an account name may also be required. HTTP connections rarely require a username and password for downloads, although that information may be required to upload files to the server. Either FTP or HTTP servers may be accessible only through a proxy server in certain circumstances. In those circumstances, a set of properties related to proxies must be specified before connecting. Please see the Technical Reference for further details. |
||
Copyright © 2024 Catalyst Development Corporation. All rights reserved. |