PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Example: Retrieving the date associated with a file
Example: Retrieving the date associated with a file
WINDEVWEBDEV - Server codeReports and QueriesWindowsJavaUser code (UMC)Ajax This example is used to retrieve the date of the modification made to the "Readme.txt" file found on the "ftp.cdrom.com" server. This information is directly requested to the FTP server, via a request.
// Connection to the FTP site
GLOBAL
nConnection is int
nConnection = FTPConnect("ftp.cdrom.com")
 
sDate is string
sDate = FTPDate(nConnection, "Readme.txt")
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment