Connect to an FTP server.
#include <ftplib.h> int ftplib_connect(const char *host, const char *proxy, netbuf **nbp)
ftplib_connect() establishes a connection to the FTP server on the specified machine and returns a handle which can be used to initiate data transfers. The host name should be specified as <host> or <host>:<port> or ftp://<host>:<port>. <host> may be either a host name or ip address. <port> may be either a service name or a port number. This sentence is true for both host name and proxy server name.
If the connection to the remote server if successful, ftplib_connect() returns 1. Otherwise, 0 is returned.
$Id: ftplib_connect.html,v 1.1 2002/12/02 03:12:51 te Exp $