ftplib_login

Login to remote system.

SYNOPSIS

#include <ftplib.h>
int ftplib_login(const char *user, const char *pass, netbuf *nbp);

PARAMETERS

user
Specifies the username.
pass
Specifies the password.
nbp
A handle returned by ftplib_connect().

DESCRIPTION

ftplib_login() attempts to login to the remote system with the supplied username and password. If a proxy server was specified in the ftplib_connect() library call, ftplib_login() will use this server as a proxy, it will try to connect using the `user@host' method.

RETURN VALUE

Returns 1 if successful or 0 on error.

$Id: ftplib_login.html,v 1.1 2002/12/02 03:12:52 te Exp $