home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
geturl.zip
/
read.me
< prev
next >
Wrap
Text File
|
1996-03-07
|
10KB
|
236 lines
GETURL - a program for copying files from the Internet
WHAT IS GETURL?
GetURL is a program for copying files from WWW sites, FTP sites,
News Servers, Gopher sites, or local computer to your local OS/2
computer. GetURL may be used in conjunction with REXX to automate
a number of Internet search and retrieval applications.
GetURL retrieves these files as type www/source, meaning that all
text is retrieved as HTML, and binaries (like pictures) are retrieved
as is. Suggestions for enhancements to this behaviour are encouraged.
A couple of demonstration REXX Programs are included as illustration.
INSTALLING GETURL
If you are reading this, you probably know how to unzip a file. Unzip
the GetURL.zip into a suitable directory - I have mine in x:\tcpip\bin.
You should have the following files:
GETURL.EXE - The GetURL Program
READ.ME - The extensive and complete documentation
FILEID.DIZ - The Obligatory Fileid.diz
GETURL.TXT - The Small Descriptive Text File
SRCHOBB.CMD - The Hobbes Search Demonstration
HOBFILT.EXE - Required for the Hobbes Search Demonstration
WTHRBCK.CMD - The WPS Backround Weather Map Loader Demonstration
WTHRUTL.CMD - Retrieval of Utils required for Weather Map Loader
If you haven't already installed it, you will require the EMX runtime
package for OS/2 in order to use this program. This can be obtained at:
ftp://hobbes.nmsu.edu/os2/unix/emx09a/emxrt.zip. Please read the
instructions inside this zip file for information on EMX runtime
installation.
RUNNING GETURL
GetURL is a VIO mode command line program. It accepts the following
command line parameters, in any order:
<URL>:
GetURL can deal with URLs of the following types and formats:
http://www.cris.com/~djd
ftp://hobbes.nmsu.edu/
news:comp.os.os2.network.tcpip
gopher://gopher.iglou.com
file://localhost/c:/config.sys
Occasionally, GetURL will ask for a TMP file name before retrieving a file
from the Internet. This will normally happen when specifying a directory via
http: protocol instead of a full file name, as in the first example above. If
this is annoying to you (it always is for non-intercative use), try adding a
final '/' character to the URL, to tell GetURL. For instance, the first URL above
would become:
http://www.cris.com/~djd/
-o <filename>
A -o on the command line, followed by a filename, will save the
retrieved document in that file. A -o with no following filename will
save the document in the current directory with the same file name as
the host. No -o specified on the command line retrieves a file to
screen (ie stdout).
-trace
The -trace option shows a lot of information regarding the operation of
GetURL. This is mostly handy for debugging, and is included so that I
can help you make GetURL work in case of difficulty. Trace information
is sent to the Stderr device.
-timeout <seconds>
The -timeout parameter sets the number of seconds to timeout a
connection. If you have a slow link, you may want to set the timeout to
a value greater than the 10 second default. For using
file://localhost/ URLs, you may want to set it smaller. The seconds
parameter must be an integer > 0.
-news <news server>
Currently, the default news server used by GetURL is news. Performance may be
greatly enhanced by using a local news server, which you may specify here.
RUNNING THE DEMOS
Hobbes Search Demo - SRCHOBB.CMD
Syntax: SRCHOBB <search term>
Returns: an E editor window with all the matches from the Hobbes
00index.txt file.
Operation: 1) The 00index.txt file is retrieved.
2) The 00index.txt file is modified to include the full
URL of each file.
3) The OS/2 Find command is used to locate the search term
of interest
4) Those lines are displayed using the E editor
5) all temporary files are removed.
Example: The call:
srchobb lynx
produces the lines:
---------- hobbes.idx
ftp://hobbes.nmsu.edu/os2/unix/lynxos2.zip 435705 Lynx text-based WWW browser (req. emxrt.zip)
WPS Backround Weather Map Loader
Syntax: WTHRBACK
Returns: Loads US Weather map into WPS backround
Operation: 1) The Gif file is retrieved, as tmp.gif
2) Gbmsize is used to convert the GIF to a BMP, and size it
to 1024x768 (other sizes may be specified)
3) The current working directory is determined
4) The BMP file is loaded to the backround
Retreival of Utils required for Weather Map Loader
The Weather Map Loader, above, requires two additional utilities in order
to operate. This Demo retrieves these utils from the Hobbes FTP site, and
unzips the necessary files. It is assumed that unzip.exe is available
on the path for this to operate.
Please consult the archives retreived for information regarding additional
functionality of these programs.
Syntax: WTHRUTL
Operation: 1) gets GBM files from Hobbes
2) unzips GbmSize.exe and GbM.Dll to the local Directory
3) get Backgrnd from Hobbes
4) unzips Backrnd.exe to the local directory
WHAT TO DO IF IT DOESN'T WORK, OR DOESN'T WORK WELL ENOUGH FOR YOU
Email me, Derek J Decker, at djd@cris.com - I'll try to determine what
is going wrong and come up with a fix. You may also try to catch me in
the #os/2 channel on IRC - I show up there from time to time, with a nick
of either Derek or _Derek_.
Before you send me email, you may want to try running GetURL with the
-trace command line option, and including the section of the resulting
trace that shows where the problem occurs. A good description of how
GetURL is installed on your system, what you are trying to do that is
causing a problem, and specific problem symptoms always helps to ensure
an accurate and enthusiastic response.
Unfortunately, the press of other work at Decker Automation prevents me
from being able to support this via telephone.
REQUIRED LEGAL STUFF
It's a sad world we live in, but this is kinda obligatory these days:
THERE IS NO WARRANTY FOR THIS PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING DECKER
AUTOMATION PROVIDES THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
PERFORMANCE OF THE PROGRAM LIES WITH THE USER.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY
MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE
LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
INCIDENTAL OR CONSEQUENTIAL DAMANGES ARISING OUT OF THE USE OF
INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO THE
LOSS OF DATA OR DATA BEING RENDERED INACURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FIALURE OF THE PROGRAM TO OPERATE WITH
ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
LICENSE AGREEMENT
GetURL is released as Freeware. There is no License Agreement.
ABOUT DECKER AUTOMATION
Heck - you've got a WWW Browser - point it at http://www.cris.com/~djd and
find out more about Decker Automation, Derek J Decker, and what we REALLY
do here.
ACKNOWLEDGEMENTS and Additional Legal things
GetURL is based on the WWW Consortium Reference Library version 4.0pre7,
ported to OS/2 via the EMX port of the GNU C Compiler. Like Newton, I
stand on the shoulders of Giants. I'd like to thank both the WWW Consortium
and Eberhard Mattes (author of EMX) for the excellent work they have done.
In addition, the W3C wants me to say this about the WWW Reference Library
code used in GetURL:
Copyright NOTICE
NOTICE
Copyright 1995 by: Massachusetts Institute of Technology (MIT), INRIA
This W3C software is being provided by the copyright holders under the
following license. By obtaining, using and/or copying this software, you
agree that you have read, understood, and will comply with the following
terms and conditions:
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee or royalty is hereby granted,
provided that the full text of this NOTICE appears on ALL copies of the
software and documentation or portions thereof, including modifications,
that you make.
THIS SOFTWARE IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO
REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT
NOT LIMITATION, COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE
SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS,
COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL BEAR NO
LIABILITY FOR ANY USE OF THIS SOFTWARE OR DOCUMENTATION.
The name and trademarks of copyright holders may NOT be used in advertising
or publicity pertaining to the software without specific, written prior
permission. Title to copyright in this software and any associated
documentation will at all times remain with copyright holders.