Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PFTPClient::LogIn ( const PString username,
const PString password 

Log in to the remote host for FTP.

TRUE if the log in was successfull.
usernameUser name for FTP log in.
passwordPassword for the specified user name.

Definition at line 107 of file ftpclnt.cxx.

References PInternetProtocol::ExecuteCommand().

  if (ExecuteCommand(USER, username)/100 != 3)
    return FALSE;
  return ExecuteCommand(PASS, password)/100 == 2;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index