AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Comunicación / Funciones FTP
  • Requesting information about a file found on an FTP server
Requesting information about a file found on an FTP server
WEBDEV - Código ServidorAjax This example is used to find out the modification date and the size of a file found on the server. In this example, the path of the file is stored in the sPath variable.
IF FTPDate(gnConnectionID, sPath) <> "" THEN
// Displays in the DETAILS_REMOTE control
DETAILS_REMOTE = sPath + CR + "Modification date: " + ...
DateToString(FTPDate(gnConnectionID, sPath)) + CR + ...
"Size of the file: " + FTPSize(gnConnectionID, sPath) + "bytes"
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