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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFTP Help

Status
Not open for further replies.

MrBeck

Programmer
Jun 3, 2005
1
US
I am using CFtpFileFind to do searching on an ftp connection for a file listing. Right now I can get a list of file/urls of files on the ftp'ed machine, but I was wondering if there is a way to also get other information besides the file URL. More specifically I am looking to get the last accessed and last written to dates of the file.

Is there a way to do this with CFtp or is there another class that I might be able to use that would let me do this?

Thanks in advance for the help.
 
CFtpFileFind is inherited from CFileFind class, which has all the functions needed to retrieve the file information from. Refer to MSDN for more information on these functions.
The ones you need for time extraction, are GetLastAccessTime & GetLastWriteTime

gl ;)

When you do it, do it right.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top