Em Andamento

Download file from URL using URLDownloadToFile

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

?

Exit sub

Habilidades: .NET, Engenharia, Microsoft, MySQL, PHP, Arquitetura de software, Teste de Software, Visual Basic, Visual Basic para Apps, Área de trabalho do Windows

Ver mais: download time, download file, php function vb6, php url string download, com urlmon, code using vb6, lib com, file cache, app download website, file vb6, download http file, url vb6, vb6 function, vb6 download url, download vb6 code, vb6 code download url, vb6 url, time code using vb6, vb6 cache, private download, function download url, download txt, http download file, function download, file download urlmon

Acerca do Empregador:
( 206 comentários ) Kuala Lumpur, Malaysia

ID do Projeto: #2959166

Premiar a:

binaryarray

See private message.

$2 USD em 1 dia
(11 Avaliações)
2.2

4 freelancers estão ofertando em média $7 para este trabalho

sagarshah1983

See private message.

$4.25 USD em 1 dia
(36 Comentários)
4.8
asyncdev

See private message.

$12.75 USD em 1 dia
(7 Comentários)
2.6
timsither

See private message.

$8.5 USD em 1 dia
(6 Comentários)
1.4