Click to See Complete Forum and Search --> : URL -> Download API
TheSarlacc
Nov 11th, 2001, 09:07 PM
ok, so there is the URLDownloadtoFile API call. this downloads a file from the net to a file on ur HDD. what i want to know is: how can i get the size of the requested file i want to download?
jim mcnamara
Nov 12th, 2001, 05:23 AM
Tangential suggestion - if you want to display a progress bar or know if it will fit on your disk drive, try the DoFileDownload api.
It does all of this stuff automagically.
Private Declare Function DoFileDownload Lib "shdocvw.dll" _
(ByVal lpszFile As String) As Long
Sub Donwload(sDownload as string)
sDownload = StrConv(Text1.Text, vbUnicode)
Call DoFileDownload(sDownload)
End Sub
Maybe not. But it does download the file as well.
TheSarlacc
Nov 13th, 2001, 05:18 AM
thanx jim, but i still would like to know if it is possible...anyone know if it is?
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.