DeleteFTPDirectory (open)
This function will delete a directory. When the directory is not recursively deleted, it should be empty.
Syntax
LOADLIB "wh::internet/ftp.whlib";
BOOLEAN FUNCTION DeleteFTPDirectory(INTEGER connectionid, STRING dirname, BOOLEAN recursive)Parameters
INTEGER connectionidInteger id of the connection (opened by OpenFTPSite)
STRING dirnameName of the file
BOOLEAN recursiveDelete all subfiles and subfolders as well
Return value
BOOLEANboolean indicating if the command was succesfull