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?
Printable View
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?
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.
Maybe not. But it does download the file as well.Code: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
thanx jim, but i still would like to know if it is possible...anyone know if it is?