Ubuntu Manpages

FtpDelete

Removes a file from the remote system.

#include <ftplib.h>

int FtpDelete(const char *fnm, netbuf *nControl);

The name of the file which is to be removed.
A handle returned by FtpConnect().

Requests that the server remove the specified file from the remote file system.

Returns 1 if successful or 0 on error.