This function disconnects from the FTP server.

[C++Builder]   BOOL IKFTPDisconnect(HINTERNET hOpen, HINTERNET hConnect);
[Delphi]   function IKFTPDisconnect(hOpen, hConnect: HINTERNET): LongBool;

Parameters

Name Explanation
hOpen The open handle retrieved from the IKFTPConnect function
hConnect The session handle retrieved from the IKFTPConnect function

Return Value

Returns True (nonzero) if successful. Returns False (0) if unsuccessful.

Explanation

The IKFTPDisconnect function disconnects the server that was connected by the IKFTPConnect function. This function can only be executed from the client computer. It does not operate on the server.

 

The ImageKit10 VCL is a product created by Newtone Corporation