:Login()


Class

     aprFTP()

 

Syntax

     :Login(cUserName,cPassword, cAccount, [hSession]) -> lSuccess

 

Parameters

 

 

cUserName

User name

 

cPassword

Password

 

cAccount

User Account name that specifies the account name to be used to authenticate the current client session.

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

Return

Logical indicating Success.

Returns .T. if the operation succeeds, otherwise returns .F.

To get further error information see :nErr and :cErr

 

Description

The :Login() method authenticates the specified user in on the remote server.

This method must be called after the connection has been established, and before attempting to transfer files or perform any other function on the remote host.

  

See Also

:Logout(), :Connect(), :ConnectEx(), :Disconnect(), :ProxyConnect(), :ProxyConnectEx()