L_InetFtpDeleteFile

#include "ltweb.h"

L_INT EXT_FUNCTION L_InetFtpDeleteFile(hFtp, pszRemote)

HFTP hFtp;

/* handle to an FTP connection */

L_TCHAR L_FAR *pszRemote;

/* name of the file to delete */

Deletes a file stored on the FTP server.

Parameter

Description

hFtp

Valid HFTP handle to an FTP connection.

pszRemote

Character string that contains the name of the file to delete on the FTP server.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

Removes a file stored on the FTP server.

Required DLLs and Libraries

LTFIL
LTWEB

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_InetFtpGetFile, InetFtpSendFile, L_InetFtpRenameFile

Topics:

FTP Functions: File Manipulation and Sending Bitmaps Over an FTP Connection

 

How to Program with FTP Functions

Example

For an example, refer to L_InetFtpConnect Example