ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / FTP functions
  • Example: Retrieving the time of the modification made to a file found on an FTP server
Example: Retrieving the time of the modification made to a file found on an FTP server
WINDEVWEBDEV - Server codeJavaAjax This example retrieves the modification time of the "Readme.txt" file found on the "ftp.cdrom.com" server. This information is directly requested to the FTP server, via a request.
GLOBAL
nConnection is int
nConnection = FTPConnect("ftp.cdrom.com")
 
// Retrieve the time of the "Readme.txt" file
sTime is string
sTime = FTPTime(nConnection, "Readme.txt")
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