|
-
Nov 11th, 2001, 10:07 PM
#1
URL -> Download API
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?
-
Nov 12th, 2001, 06:23 AM
#2
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.
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
Maybe not. But it does download the file as well.
-
Nov 13th, 2001, 06:18 AM
#3
thanx jim, but i still would like to know if it is possible...anyone know if it is?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|