DeleteFTPFile()

Syntax

Result = DeleteFTPFile(#Ftp, Filename$)
Description
Deletes a file on the FTP server.

Parameters

#Ftp The connection to use.
Filename$ The file to delete. The file has to be in the current directory (see GetFTPDirectory() and SetFTPDirectory()). It is not possible to specify a subpath in the Filename$.

Return value

Returns nonzero if the file was deleted or zero if the operation failed.

See Also

SendFTPFile(), SetFTPDirectory(), GetFTPDirectory()

Supported OS

All

<- DeleteFTPDirectory() - Ftp Index - ExamineFTPDirectory() ->