I use this code to download a file from internet :
- Code: Select all Expand view
- MsgRun("Downloading ...","One moment...",{||IF(URLDownloadToFile(0,"http://www.ma-consult.be/test.txt","..\test.txt",0,0 ) == 0,UpdDown:=0,UpdDown:=1)})
If this download is done twice in a very short time, it is considered that the file is the same. So probably the file is copied from the tempory internet files. If the file on internet has been changed meanwhile, the new file isn't downloaded.
How can I force my application to download the file from the internet each time it is asked for, also in case the download is done more than once in a short time?
I hope the readers will understand what I mean.
Thanks a lot in advance.