DeleteFTPDirectory()

Syntax

Result = DeleteFTPDirectory(#Ftp, Directory$)
Description
Deletes a directory on the FTP server.

Parameters

#Ftp The connection to use.
Directory$ The directory to delete. The directory has to be in the current directory (see GetFTPDirectory() and SetFTPDirectory()). It is not possible to specify a subpath in the Directory$. The directory has to be empty, or the delete with fail.

Return value

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

See Also

CreateFTPDirectory(), SetFTPDirectory(), GetFTPDirectory()

Supported OS

All

<- CreateFTPDirectory() - Ftp Index - DeleteFTPFile() ->