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
Criar Diretorio Servidor Ftp
PROCEDURE diretorio_criar_servidor()
s_nome_Diretorio is string
Input("Nome do Diretorio:",s_nome_Diretorio)
IF s_nome_Diretorio<>"" THEN
FTPMakeDir(n_conexao,SAI_Diretorio_Remoto+s_nome_Diretorio)
diretorio_mostra_remoto()
ELSE
Info("nao foi criado Diretorio, pois nao foi informado nome")
END

//http://doc.windev.com/en-US/?1000003040001&name=FTPMakeDir_example
//Blog com Video Explicando
//http://windevdesenvolvimento.blogspot.com.br/2016/01/windev21-curso-212-ftp-criando.html
De matos AMARILDO
06 Jan. 2016

Last update: 05/26/2022

Send a report | Local help