new_ftpc - Create a new FTP client object. |
#include <pthr_ftpc.h> ftpc new_ftpc (pool, pseudothread pth, const char *server); |
Create a new FTP client object, connected to the FTP server called server. The server may be an IP address or a hostname. If the server name ends with :port then port is the port number to connect to. |
The default mode for new connections is active mode. Call ftpc_set_mode(3) to change the mode. |
Richard Jones <rich@annexia.org> |
GNU LGPL (see http://www.gnu.org/) |
pthrlib-3.0.3 |
ftpc_login(3), ftpc_set_mode(3). |