Problem running multiple lwp-download commands from a Windows batch file
From: Bruce Horrocks (spamblock_at_nodomain.nodomain.us)
Date: 12/31/03
- Next message: Jay Tilton: "Re: Problem running multiple lwp-download commands from a Windows batch file"
- Previous message: Truthless: "File handle Variable scope issue"
- Next in thread: Jay Tilton: "Re: Problem running multiple lwp-download commands from a Windows batch file"
- Reply: Jay Tilton: "Re: Problem running multiple lwp-download commands from a Windows batch file"
- Reply: Gregory Toomey: "Re: Problem running multiple lwp-download commands from a Windows batch file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Dec 2003 23:54:22 +0000
Dear All,
This surely must be a FAQ or at least a known bug but according to
Google (web and groups) it isn't, so please bear with me...
I'm using ActivePerl 5.8 under Windows 2000 [1]
I wish to download about 50-odd PDF files from a web-site. I have the
URLs of all of them so I created a Windows .BAT file containing 50-odd
lines, each of the form:
lwp-download "http://www.example.com/path/file.pdf" file.pdf
When I run the .BAT file from a command window, it executes the first
lwp-download command perfectly, saving a working PDF file, and then
stops.
No matter what I do it always terminates execution of the batch file
after the first lwp-download. I tried changing them to GETs instead but
the same thing happens.
Is there a work-around and if so what is it?
Thanks in advance.
[1] And have been for a while so if it's an installation problem then
sorry, but I can't remember what options I chose. :-)
-- Bruce Horrocks Surrey England <firstname>@<surname>.plus.com -- fix the obvious for email
- Next message: Jay Tilton: "Re: Problem running multiple lwp-download commands from a Windows batch file"
- Previous message: Truthless: "File handle Variable scope issue"
- Next in thread: Jay Tilton: "Re: Problem running multiple lwp-download commands from a Windows batch file"
- Reply: Jay Tilton: "Re: Problem running multiple lwp-download commands from a Windows batch file"
- Reply: Gregory Toomey: "Re: Problem running multiple lwp-download commands from a Windows batch file"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]