|
-
Apr 22nd, 2001, 06:48 PM
#1
Is there a way to have the Inet control download all the urls in a text file to a dir such as (c:\files)
-
Apr 22nd, 2001, 06:58 PM
#2
The MSInet Control is used to download files off of the Internet or it can be used for FTP, not used for files located on your computer.
-
Apr 22nd, 2001, 07:00 PM
#3
thats what I want I have a text file containing Http urls and I need to download each one and save them into a dirictory on the c:\files
-
Apr 22nd, 2001, 07:01 PM
#4
PowerPoster
Somehow he managed to post this question twice within 10 minutes of each other, but Matt I think you've got the wrong end of the stick. He has a file with a load of URL's in it and he wants iNet to download each file from the net that is listed in the text file (that's what I thought he meant anyway).
-
Apr 22nd, 2001, 07:03 PM
#5
exactly chrisjk
sorry about the double post I got an error on ie and I didnt think it had posted the first one
-
Apr 22nd, 2001, 07:07 PM
#6
PowerPoster
Okay, read in each line of the text file using this code...
Code:
Dim FileNumber
Dim strImported
FileNumber = FreeFile
Open "C:\MyFile.txt" For Input As #FileNumber ' Open file.
Do While Not EOF(FileNumber) ' Loop until end of file.
Line Input #FileNumber, strImported ' Get line.
'Pass line to inet to download. I don't know how to use inet, I've never used it.
'strImported now contains the URL to download from.
Loop
-
Apr 22nd, 2001, 07:19 PM
#7
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
|