Login to remote system.
#include <ftplib.h>
int FtpLogin(const char *user, const char *pass,
netbuf *nControl);
user
Specifies the username.
pass
Specifies the password.
nControl
A handle returned by FtpConnect().
FtpLogin() attempts to login to the remote system with the supplied username and password.
Returns 1 if successful or 0 on error.