PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Deleting directories.
FTPRemoveDir (Example)
Deleting directories.
WEBDEV - Server codeAjax
This example deletes the Temp directory of the FTP server.
nConnection is int
nConnection = FTPConnect("ftp.cdrom.com")
IF nConnection = -1 THEN
Error("Unable to establish the connection to the server")
ELSE
// Attempt to delete the Temp directory
IF FTPRemoveDir(nConnection, "Temp") THEN
Info("The directory was deleted")
ELSE
Error("The directory was not deleted")
END
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment