new_ftpc

NAME
SYNOPSIS
DESCRIPTION
AUTHOR
LICENSE
VERSION
SEE ALSO

NAME

new_ftpc - Create a new FTP client object.

SYNOPSIS

#include <pthr_ftpc.h>

ftpc new_ftpc (pool, pseudothread pth, const char *server);

DESCRIPTION

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.

AUTHOR

Richard Jones <rich@annexia.org>

LICENSE

GNU LGPL (see http://www.gnu.org/)

VERSION

pthrlib-3.0.3

SEE ALSO

ftpc_login(3), ftpc_set_mode(3).