ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / FTP functions
  • Deleting directories.
FTPRemoveDir (Example)
Deleting directories.
WINDEVWEBDEV - Server codeReports and QueriesJavaUser code (UMC)Ajax
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

Last update: 05/26/2022

Send a report | Local help