ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / FTP functions
  • Create a directory
FTPMakeDir (Example)
Create a directory
WINDEVWEBDEV - Server codeReports and QueriesJavaUser code (UMC)Ajax This example creates the "/New/Temp/Data" directory in the current 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
IF FTPMakeDir(nConnection, "/New/Temp/Data") = True THEN
Info("The directory was created")
ELSE
Error("The directory was not created")
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