SmartFTP FTP Library
IFTPConnection::Disconnect Method

Disconnects from the remote host. 

To ungracefully close the connection use the Close method.

HRESULT Disconnect();

The QUIT command is sent to the server to close the connection. The client waits for the reply and the server to close the connection. If one of these doesn't happen, the client ungracefully closes the connection after the connection timed out. If you call the Abort method during this operation the socket is ungracefully closed.

What do you think about this topic? Send feedback!
Copyright (c) by SmartSoft Ltd. All rights reserved.