Hello,
I use this code to download a file from internet :This code is running just fine, apart from one problem.
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.
I use this code to download a file from internet :
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.
Regards,
Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773