ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Communication / FTP functions
  • 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

Last update: 05/26/2022

Send a report | Local help