WebClient check if the webfile is updated

RBK

New member
Joined
Dec 21, 2007
Messages
1
Programming Experience
3-5
Hi,

I have a program that downloads files from the internett.
But before i download, i want to check if the webfile is updated before i download.
Does anyone know how to check if a webfile is updated (compare with the one i have already downloaded)?

I'm using WebClient, like this:

dim webFile = "http://..." 'webadress for file to download
dim destFile = "C:\temp\myDownLoadedFile.txt"
dim webCl as new webclient

webCl.DownloadFile(webFile, destFile)

Thanks,

RK
 
Last edited:
Back
Top