wodFtpDLX ActiveX Control - Disconnect Method
      
 

Description

Disconnects from remote server.


Return Type

None  


Syntax

object.Disconnect [WaitLogoff]



The Disconnect Method syntax has these parts:

Part Description
object An expression evaluating to an object of type wodFtpDLX.
WaitLogoff Optional. A Variant value. When set to True, wodFtpDLX will send 'BYE' command before disconnecting from the server.

Remarks

Disconnect method will close socket between wodFtpDLX and remote server, thus breaking the connection. If WaitLogoff value isn't specified, or is set to False, server will not be informed about disconnection (connection is closed brutally). If WaitLogoff is set, wodFtpDLX will first send information about connection closure to server.

After calling Disconnect, you can set new parameters and issue Connect method again.