InetFTPLoginEx
int InetFTPLoginEx (const char *FTPServer, const char *userName, const char *password, int timeout);
Purpose
Opens a new FTP connection to the FTP server on the specified machine.
Parameters
| Input | ||
| Name | Type | Description |
| FTPServer | const char * | The name or IP address of a remote machine running an FTP server on the standard FTP server port (21). If the FTP server is using a non-standard port, then you can specify the port using the syntax address:port. |
| userName | const char * | The user name to use when logging in to the FTP server. |
| password | const char * | The password to use when logging in to the FTP server. |
| timeout | int | The timeout value, in milliseconds, used when reading data packets from and writing data packets to the FTP server. |
Return Value
| Name | Type | Description |
| FTPHandle | int | The value that you must use in subsequent function calls to specify this FTP connection. Negative values indicate that an error occurred. |
Additional Information
Library: Internet Library
Include file: cvintwrk.h
LabWindows/CVI compatibility: LabWindows/CVI 7.1 and later