:Account()
Class
Syntax
:Account( cAccount, [hSession] ) -> lSuccess
Parameters
|
|
cAccount |
String 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 :Account() method sends the specified user account name to the remote server for authentication.
The :Login() method should be used in place of this method whenever possible.
This method should only be called when client application must use a non-typical login sequence, such as through a proxy server.
This method sends the ACCT command to the remote server, and should only be called when the :Username() or :Password() methods return the response code FTP_REPLY_GETACCT (:GetResultCode).
See Also