Duplication of effort? Re: [ANNOUCE:] ls-lR2url & fetch-url on alt.sources

Jack Shirazi - BIU (js@bison.lif.icnet.uk)
Mon, 24 Oct 94 13:54:03 GMT


from comp.lang.perl
----- Begin Included Message -----

>I just posted two shar scripts, ls-lR2url-0.62 and fetch-url-0.4 on
>alt.sources.  You can also find them, if you're lucky, in the
>ftp://www.mcs.com/mcsnet.users/apharris/aph-code/ 
>directory.
>
>Here's a the hype.
>
>------------------------------------
>Archive-name: ls-lR2url-0.62.sh
>Required: Perl
>
>ls-lR2url v. 0.6.2
>
>[from the man page]
>
>       ls-lR2url is a Perl script which, given a match string and
>       an  ls-lR  file,  emits  a URL (Uniform Resource Locator).
>       Most ftp sites provide an ls-lR file at the top  level  of
>       their archives to serve as an index to the contents of the
>       archive.
>
>       This script provides a convenient  mechanism  for  turning
>       index  files  into data suitable for software consumption.
>       It can be used as-is with  NcFTP  and  my  fetch-url.   It
>       would  be trivial to write a CGI wrapper which would allow
>       one to attach a WWW forms interface.                   
>
>------------------------------------
>Archive-name: fetch-url v.0.4
>Required: Perl, url_get.pl (Jack Lund), ftplib.pl (G. Spafford & Lund)
>
>[from the man page]
>
>       Fetch-url is a Perl  script  which  utilizes  Jack  Lund's
>       url_get.pl  library to facilitate batch and routine trans-
>       fers.  Targets are specified  as  URLs  (Uniform  Resource
>       Locators), although colon mode descriptions are acceptable
>       for ftp'able files.  Fetch-url can 'speak' the ftp,  http,
>       and gopher protocols.
>
>Example:
># fetch-url -d /usr/src ftp://tsx-11.mit.edu/pub/linux/souces/system/v1.1/patch43.gz
>     ( puts patch43.gz in /usr/src )   
>
>-- 
>.......................
>....A. P Harris.............................................................
>.....apharris@mcs.com......... href="http://www.mcs.com/~apharris/home.html.....">http://www.mcs.com/~apharris/home.html......


-- 
       Jack               js@biu.icnet.uk
                         
If you only have a hammer, you tend to see every problem as a nail.
                -- Maslow


----- End Included Message -----