|
-
August 27th, 2001, 09:52 AM
#1
Getting the file creation time on a remote file without dl'g
I've asked this before but have not gotten it to work. I want to be able to connect to a remote ftp host and check to see if there are any files that are more than 2 weeks old. If there is, then download the file.
This seems simple enough. I can use wininet to connect to the remote ftp host but having problem listing the creation time.
I have used "GetFileTime", which requires "OpenFile", but this only works with files that are local. Can anyone help with this. Maybe I'm going about this the wrong way or using the wrong dll.
I've tried "FileTimeToLocalFileTime" and "FileTimeToSystemTime" but both seem to relate to local files and not remote files.
I don't want to have to download the file first and then check the creation date. If the file is hugh, this could take some time.
Been working on this for a week.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|