Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ftp Date Confusion

Status
Not open for further replies.

wduty

Programmer
Jun 24, 2000
271
US
When using the wininet function
Code:
InternetFindNextFile(HFILE, WIN32_FIND_DATA*)
to read an ftp directory, is the date for each remote file represented by any of the values in the WIN32_FIND_DATA struct?

There are three date values in WIN32_FIND_DATA: ftCreationTime, ftLastAccessTime, ftLastWriteTime (all FILETIME structs)

ftCreationTime and ftLastAccessTime are coming back as 0. The other date, ftLastWriteTime, is returning a non-zero value but it works out to something like the year 2035. Anyone?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top