AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones FTP
  • Deleting files.
FTPDeleteFile (Example)
Deleting files.
WEBDEV - Código ServidorAjax 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
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