.: Binky:url
[Help: Url]
URL [-flags] <url>
By using the URL command, you can have a web page or file
on
the net transmitted to you. It will automatically encode
binary files, and automatically split large files if you use
the SPLIT command.
The [-flags] parameter allow you to get the source of a web
page with -s and you can get only the text of a web page with
-t. The -t flag will attempt to change all HTML code and weird
symbols into their text counterparts. Files retrieved with
the
-t flag should never be encoded -- e-mail the admin if a page
is. The -t flag is very useful if you intend to get the file
through a pager or another text-only medium.
A few examples to help get you started are below.
URL http://www.web.site.com/filename.html
URL http://boas.anthro.mankato.msus.edu/~binky/
URL ftp://site.name/directory/directory/file.name
URL ftp://user:password@site.name/directory/file.name
If you use the "user:password" approach, and you
want to log
into an anonymous FTP site that requires your email address,
and you want to use my@email.address, then change the @ into
%40 to give you:
URL ftp://anonymous:my%40email.address@site.name/directory/file.name
Below are some examples for using the -s and -t flags.
URL -s http://www.web.site.com/filename.html
Sends you the HTML source of the web page
URL -t http://boas.anthro.mankato.msus.edu/~binky/
Sends you just the text of the web page
URL -st http://www.yahoo.com
Sends you the source of the web page, but also formats
it so that it is all text
URL -ts http://www.altavista.com
Same as above -- parameter order does not matter
URL -st http://www.files.com/filename.zip
If you get a binary file, -s and -t have no affect
on the output.
|