home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 15 Message
/
15-Message.zip
/
oe991211.zip
/
Rx991210.txt
< prev
next >
Wrap
Text File
|
1999-12-11
|
4KB
|
96 lines
Programming/using OS/2 REXX (echo)
Saturday, 04-Dec-1999 to Friday, 10-Dec-1999
+----------------------------------------------------------------------------+
From: Eddy Thilleman 06-Dec-99 00:55:22
To: All 07-Dec-99 13:24:07
Subj: wget
Hello Jack,
03 Oct 99 23:42, Jack Stein wrote to Eddy Thilleman:
JS> Couldn't you just send the output to Rxqueue, then write it to disk
JS> and to sceen? Just a thought, I think you could do it though just by
JS> piping the output to a queue.
When I connect to internet, multiple wget sessions are started. In the task-
or window list (Ctrl-Esc) all wget sessions are shown with what they are
currently downloading. But I miss the completed percentage of the file
currently downloading. So I'm thinking about - with a tee program - feeding
the output of wget to a log file (for logging, which I do already) and to
another destination (a pipe or a named pipe or a queue) and look in this new
destination for the progess with a rexx program, running in a separate
session, and one for each wget session, doubling the number of processes
needed for wget, so this is a disadvantage which I would like to avoid.
Writing the rexx program will not be a problem (at least I don't expect it to
be).
Because multiple wget sessions are running, I need for each wget process a
separate pipe, so does this mean I need to use a named pipe?
I think that it would be better to put - in the tasklist or the window list -
the percentage completed of the file currently being downloaded behind the
url/filename, but that means changing wget and because I don't have a
C-compiler and I have never programmed in C, I can't do that.
On a seperate note, it's possible to put additional parameters in the list
file with the files/url's to get. I haven't thought of this before.
JS> wget 'parameters' |rxqueue
Ah, I see I can give the queue a name with rxqueue(). But I am not sure about
how to use a named queue from a plain batch file.
is a queue also a pipe? I ask this because I see the pipe symbol.
JS> Something like that might work.
Noted.
Greetings -=Eddy=- email: eddy.thilleman@net.hcc.nl
... WindowError:00F Unexplained error. Please tell us how it happened.
--- GoldED/2 3.0.1
* Origin: Windows98 is a graphic DOS extender (2:280/5143.7)
+----------------------------------------------------------------------------+
From: John Clarke 08-Dec-99 17:49:24
To: Eddy Thilleman 10-Dec-99 06:58:07
Subj: wget
On Dec 06, 1999 at 00:55 hrs, Eddy Thilleman of 2:280/5143.7 wrote to All:
Hello Eddy,
ET> When I connect to internet, multiple wget sessions are started. In
ET> the task- or window list (Ctrl-Esc) all wget sessions are shown with
ET> what they are currently downloading.
Why bother to run multiple instances of wget?
I put the URL complete into a list_file and let wget get each one in sequence.
It puts each file into a single directory that I nominate on the command
line. The only disadvantage I have is that the wget display is either to the
screen or a file - I have it pointed to the screen. You could run a "tee"
program to direct the output to both screen and a file if you want.
You could run multiple instances each running their own list_file if the sites
are running slow. I've done that a couple of times.
Regards ... John
Email: jclarke@zip.com.au
--- MsgedSQ/2 3.30
* Origin: The Clearing House (3:713/730)
128/139
+----------------------------------------------------------------------------+
+============================================================================+