Hi,
you have a lot possibilities.
You can use a XML or Ini file with the last file processed.
ou can use a CRC32 function to know if that file has been processed.
You can store in database the information about the last file received and
which has been processed...
....and rename the file processed of course.
What's is better?. I am not sure, but you can use whatever action or combine
some of them. I suggest rename the file. Is the action more easier. In other
case, use an ini file to store the last file processed is other good
possibilitie.
I hope that helps.
Kind regards,
Jorge Serrano Pérez
MVP VB.NET
"rodchar" wrote:
hey all,
i have a task to automate a simple process of once a week downloading a
zipped file (updated weekly but given the same file name) from a website and
processing the file.
How can i make sure that the next file my app tries to download, isn't a
file it's already processed?
I was thinking maybe rename the zipped file after it's been process and the
next time the file is downloaded to do some sort of object comparison. I'm
not even sure this is even possible or if there's better ways. Please advise.
thanks,
rodchar