AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones FTP
  • Renaming a file on an FTP server.
FTPRenameFile (Example)
Renaming a file on an FTP server.
WINDEVWEBDEV - Código ServidorReportes y ConsultasJavaCódigo de Usuario (UMC)Ajax This example is used to rename a file found on the FTP server from the current computer.
nConnection is int
nConnection = FTPConnect("ftp.cdrom.com", "GUEST", "")
IF nConnection = -1 THEN
Error("Unable to establish the connection to the server")
ELSE
IF FTPRenameFile(nConnection, "Hello.txt", "Hi.txt") = True THEN
Info ("The file was renamed")
ELSE
Error("The file has not been renamed")
END
END
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/05/2022

Señalar un error o enviar una sugerencia | Ayuda local