PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • 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
WEBDEV - Server codeAjax 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