Some senseless babbling from Eddy Thilleman to Mike Ruskai
on 09-26-99 12:04 about hstart wget?...
ET> Hello Mike,
ET> 24 Sep 99 13:15, MIKE RUSKAI wrote to EDDY THILLEMAN:
ET>> LineIn( InFile, 1, 0 )
ET>> /* No read; opens inputfile */
ET>> /* (if file is already open, sets the read position to the first
MR> You shouldn't depend on this.
ET> Please explain why.
Because it's only a side-effect of the current OS/2 implementation of REXX
- it's not by design.
Furthermore, you aren't checking for success in opening the file.
MR> Opening files should always be done with the stream() function (or
MR> with a Stream object in OREXX), like this:
ET> Please explain why files should be opened with the stream() function?
Because that's the designed way of opening files. If you check the result,
you can determine whether or not the open was successful.
MR> http://hobbes.nmsu.edu/pub/os2/apps/internet/suite/rxiutl??.zip
ET> Maybe I might do take a look at it.
MR> and has a better transfer status display than WGET.
ET> With wget, I want to use and a log file and a have status display on
ET> screen (not possible now AFAICS).
The current version of urlget.cmd will log a transfer and display the
status on screen, though both functions can be disabled. Here's what the
log entry looks like:
[23 Sep 1999 - 17:12:46] - Successful transfer for:
ftp://service.boulder.ibm.com/software/asd/java/en_us/javainuf.exe
Received 4,822,320 bytes in 1,553.47 seconds (3,104 bytes/second).
Total size is 20,805,936 bytes, resumed from byte 15,983,616.
---------------------------------------------------------------------------
MR> My goal is to support all of the functionality of WGET.
ET> That's a lot of work.
Not really. REXX makes things easier.
Mike Ruskai
thannymeister@yahoo.com
... "...we believe that OS/2 is the OS of the 90's" - Bill Gates, Comdex
___ Blue Wave/QWK v2.20
--- Platinum Xpress/Win/Wildcat5! v3.0pr2
267/200
45
* Origin: FIDO QWK MAIL & MORE! WWW.DOCSPLACE.ORG (1:3603/140)
|