PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Deleting files.
FTPDeleteFile (Example)
Deleting files.
WINDEVWEBDEV - Server codeReports and QueriesWindows MobileJavaAjaxUser code (UMC) This example is used to delete a file from the FTP server.
// Delete a file from the FTP server
nConnection is int
nConnection = FTPConnect("ftp.cdrom.com", "GUEST", "")
IF nConnection = -1 THEN
Error("Unable to establish the connection to the server")
ELSE
IF FTPDeleteFile(nConnection, "Hello.txt") = True THEN
Info("The file was deleted.")
ELSE
Error("The file was not deleted")
END
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment