TIP: Click on subject to list as thread! ANSI
echo: os2rexx
to: Eddy Thilleman
from: John Clarke
date: 1999-09-25 09:02:10
subject: hstart wget?

On Sep 21, 1999 at 23:41 hrs, Eddy Thilleman of 2:500/143.7 wrote to All:

Hello Eddy,

 ET> I made a REXX file wgetmir.cmd to read all the lines in a textfile 
 ET> which are the websites or files on internet to retrieve with wget. 
 ET> wget is running OK when hstarted from a command line or a plain batch 
 ET> file, but not from the REXX file (no screen output or no log file if 
 ET> log file is specified). Does someone spot what I'm doing wrong?

I can't comment of the rexx file but I can tell you how I have wget running
here.

I have a series of icons in a folder.  Each icon calls wget and points to a
different directory on the disk - ie one for each of DOS, Games, OS/2, Windows 
etc.  I put a file in these directories called filelist.lst that contains the
list of URLs.  The icons have the following command lines

Path and filename
c:\wget\wget.exe

optional parameters
-v -id:\down-dos\filelist.lst -P d:\down-dos
or
-v -id:\down-win\filelist.lst -P d:\down-win
etc

Working directory
c:\wget

This puts the files in d:\down-dos or d:\down-win etc and writes the output to 
screen.  I haven't found a way to put it to screen and to a logfile at the
same time - it seems to be one or the other.

All I do if put the file filelist.lst in the appropriate directory and then
double click on the icon.  I've had this running for over a year now.

The only improvement I would like would be the ability queue the 'icons' if I
have several filelist.lst URL files.  Something along the lines of

if exist d:\down-dos\fileslist.lst then
       call get_dos
if exist d:\down-win\filelist.lst then
       call get_win
etc etc.

If you get your rexx script working would you please send me a copy?  I'll see 
if I can add the queue processing.

I hope this helps.

Regards ... John

Email: jclarke@zip.com.au

--- MsgedSQ/2 3.30
267/200
45
* Origin: The Clearing House (3:713/730)

SOURCE: echoes via The OS/2 BBS

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.