Dart Ftp Control
Logout Method
Description
Gracefully log off and terminate the connection.
Syntax
Visual Basic
Public Sub Logout() 
Remarks

Sends the ftpQuit command and closes the connection.

If Timeout is greater than 0, Logout blocks until the connection is closed or a ptTimeout error occurs.

If Timeout is 0, Logout immediately returns and the Progress event fires with FtpCmd = ftpQuit when the reply is received, and then the State event fires when State changes to tcpClosed.

Error Codes

This method may generate the following error code (refer to ErrorConstants for a complete list of error codes):

See Also

Ftp Object  | Ftp Members


PowerTCP SSL for ActiveX Documentation Version 2.2.1
© 2018 Dart Communications. All Rights Reserved.
Send comments on this topic