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

Download files - how to check date created 1

Status
Not open for further replies.

tembalena

Programmer
Apr 17, 2001
37
ZA
I'm needing to download an xml file (sometimes with .asp extension) but only if it's been updated since the last download. How do I check the file's lastwritetime or creationtime like one can do with a local file?
 
BTW, this is like a news feed, and it's a file either on an ftp server or normal web server. If anyone's got any examples on checking a file's datestamp on an ftp/web server, that'd be great. Thanks.
 
There is a new component in .net called FileSystemWatcher. This will do what you want. Check it out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top