I am using? URLDownloadToFile function to download file but my problem is the first time I download the file it comes from website.
The second time I do it file comes from cache.
I do not want it to come from cache.? Let me know how I can resolve this or your suggestions.
Code in Vb6. Code below.
Private Declare Function URLDownloadToFile Lib "URLMon" Alias _
? ? ? "URLDownloadToFileA" (ByVal pCaller As Long, _
? ? ? ByVal szURL As String, _
? ? ? ByVal szFileName As String, _
? ? ? ByVal dwReserved As Long, _
? ? ? ByVal lpfnCB As Long) As Long
Private Sub DownFile
? ? ? xDes = [url removed, login to view] + "\[url removed, login to view]"
? ? ? Kill xDes
URLDownloadToFile 0, "<[url removed, login to view]>", (xDes), 0, 0