L_InetFtpDisConnect

#include "ltweb.h"

L_LTWEB_API L_INT L_InetFtpDisConnect(hFtp)

HFTP hFtp;

/* handle to an FTP connection */

Closes a single ftp handle

Parameter

Description

hFtp

Valid HFTP handle to the FTP connection to close.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

The function terminates any pending operations on the handle and discards any outstanding data.

Required DLLs and Libraries

LTWEB
LTFIL

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application

See Also

Functions:

L_InetFtpConnect

Topics:

FTP Functions: FTP Connections

 

How to Program with FTP Functions

Example

For an example, refer to L_InetFtpConnect example.