Re: Mail->News Gateway

---------

Lawrence F. London, Jr. (london@SunSITE.Unc.EDU)
Tue, 6 Sep 1994 12:00:57 -0400 (EDT)


On Tue, 6 Sep 1994, David Putzolu wrote:

> H. I Don't Have FTP capability - can I use Email to Get FAQ articles?
> If you have e-mail access to the internet, you can get access to any ftp site
> via e-mail from these two 'ftp via e-mail' servers:
> ftpmail@sunsite.unc.edu

> How can I get the FAQs if I haven't got FTP?

Here are two documents on ftpmail; you get one of these when you
send e-mail to:

ftpmail@sunsite.unc.edu
Subject: help
and/or:
Message Text: help

Subject:

Valid commands to the email-ftp gateway are:

reply-to email-address Who to send the response to. Defaults to
your incoming email address
open [site [user [pass]]] Site to ftp to. Defaults are
sunsite.unc.edu anonymous reply-to-address.
cd pathname change directory.
ls [pathname] short listing of pathname. Default pathname
is current directory.
dir [pathname] long listing of pathname. Default pathname
is current directory.
get pathname get a file and email it back.

compress compress files/dir-listings before emailing back

uuencode
btoa
These are mutually exclusive options for
converting a binary file before emailing.
(Default is uuencode)
force uuencode
force btoa
Force all files or directory listings to
be encoded before sending back.
There is no default.

mode binary
mode ascii
change the mode selected for the get
command. Defaults to binary.
quit End of input - ignore any following lines.

Example scripts are:

open
dir
quit
Connect to sunsite.unc.edu and send back the contents of the top level
directory

reply-to jem@lambada.oit.unc.edu
open
cd unix
get buffer.shar
quit
Connect to sunsite.unc.edu and send back the file buffer.shar to
jem@lambada.oit.unc.edu

open sunsite.unc.edu
cd /pub/Linux
get 00-find.Linux
cd ../X11/contrib
compress
ls -ltra
quit
Connect to sunsite.unc.edu, send back the file 00-find.Linux.Z in
/pub/Linux, which is a listing of all files in the Linux area.
As this is a binary file it has to be transfered
in binary mode. Because it is binary it will automagically
be uuencoded (the default binary encoder). Then change to ../contrib
and mail back a compressed directory listing. Although compressing ls
output makes it binary, which then has to be encoded, it still ends up
smaller than the original.

open
cd /pub/X11/contrib/R5fixes
get fix-08
get fix-09
get sunGX.uu
quit
Retrieve some recent X fixes


open
cd gnu
atob
mode binary
get emacs-18.59.tar.Z
quit

Retrieve the newest version of GNU Emacs in atob format

>>From ftpmail@sunsite.unc.edu Thu Aug 26 21:53:30 1993
Date: Wed, 2 Dec 92 21:21:07 EST
From: FTP-MAIL daemon <ftpmail@sunsite.unc.edu>

Valid commands to the email-ftp gateway are:

reply-to email-address Who to send the response to. Defaults to
your incoming email address
open [site [user [pass]]] Site to ftp to. Defaults are
sunsite.unc.edu anonymous reply-to-address.
cd pathname change directory.
ls [pathname] short listing of pathname. Default pathname
is current directory.
dir [pathname] long listing of pathname. Default pathname
is current directory.
get pathname get a fail and email back.

compress compress files/dir-listings before emailing back

uuencode
btoa
These are mutually exclusive options for
converting a binary file before emailing.
(Default is uuencode)
force uuencode
force btoa
Force all files or directory listings to
be encoded before sending back.
There is no default.

mode binary
mode ascii
change the mode selected for the get
command. Defaults to binary.
quit End of input - ignore any following lines.

Example scripts are:

open
dir
quit
Connect to sunsite.unc.edu and send back the contents of the top level
directory

reply-to lmjm@doc.ic.ac.uk
open
cd pub
get INDEX
quit
Connect to sunsite.unc.edu and send back the file INDEX to
lmjm@doc.ic.ac.uk

open src.doc.ic.ac.uk
cd graphics/X11/X.V11R5
get ls-lR.Z
cd ../contrib
compress
ls -ltra
quit
Connect to src.doc.ic.ac.uk, send back the file ls-lR.Z in
graphics/X11/X.V11R5. As this is a binary file it has to be transfered
in binary mode. Because it is binary it will automatically
be uuencoded (the default binary encoder). Then change to ../contrib
and mail back a compressed directory listing. Although compressing ls
output makes it binary, which then has to be encoded, it still ends up
smaller than the original.

open
cd graphics/X11/X.V11R5/fixes
get fix-08
get fix-09
get sunGX.uu
quit
Retrieve some recent X fixes


open
cd gnu
atob
mode binary
get emacs-18.57.tar.Z
quit

>>From ftpmail@calypso Thu Aug 26 21:54:31 1993
Date: Thu, 26 Aug 93 21:52:27 EDT
From: File Transfer by Mail <ftpmail@calypso>
Subject: <FTP EMAIL> response

<FTP EMAIL> response
ftpmail@sunsite.unc.edu - ftp's files and sends them back via electronic mail.

If you have problems please email ftpkeeper@sunsite.unc.edu
and quote the following line:
$Revision: 1.19 $

>>Valid commands to the ftpmail gateway are:

reply-to email-address Who to send the response to. This is
optional and defaults to the users email address

>>Followed by one of:

help Just send back help
delete jobid Delete the given job
open [site [user [pass]]] Site to ftp to. Defaults are
sunsite.unc.edu anonymous reply-to-address.

>>If there was an open then it can be followed by up to 100 of the
>>following commands

cd pathname Change directory.
ls [pathname] short listing of pathname. Default pathname
is current directory.
dir [pathname] long listing of pathname. Default pathname
is current directory.
get pathname Get a file and email it back.

compress Compress files/dir-listings before emailing back
gzip Gzip files/dir-listings before emailing back

uuencode
btoa
These are mutually exclusive options for
converting a binary file before emailing.
(Default is uuencode.)

force uuencode
force btoa
Force all files or directory listings to
be encoded before sending back.
There is no default.

mime
Send the message as a Mime Verson 1.0 message.
Text will be sent as text/plain charset=US-ASCII
Non-text as application/octet-stream.
If the file is splitup then it will be sent
as a message/partial.

force mime
As mime but force text files to be sent as
application/octet-stream

no [compress|gzip|uuencode|btoa|mime]
Turn the option off.

size num[K|M]
Set the max size a file can be before it
is split up and emailed back in parts to
the given number of Kilo or Mega bytes.
This is limited to 102400.

mode binary
mode ascii
Change the mode selected for the get
command. Defaults to binary.
quit End of input - ignore any following lines.

Example scripts are:

open
dir
quit
Connect to sunsite.unc.edu and send back the contents of the top level
directory

reply-to lmjm@doc.ic.ac.uk
open
cd unix
get buffer.shar
quit
Connect to sunsite.unc.edu and send back the file buffer.shar to
lmjm@doc.ic.ac.uk

open src.doc.ic.ac.uk
cd graphics/X11/X.V11R5
get ls-lR.Z
cd ../contrib
compress
ls -ltra
quit
Connect to src.doc.ic.ac.uk, send back the file ls-lR.Z in
graphics/X11/X.V11R5. As this is a binary file it has to be transfered
in binary mode. Because it is binary it will automatically
be uuencoded (the default binary encoder). Then change to ../contrib
and mail back a compressed directory listing. Although compressing ls
output makes it binary, which then has to be encoded, it still ends up
smaller than the original.

open
cd graphics/X11/X.V11R5/fixes
get fix-08
get fix-09
get sunGX.uu
quit
Retrieve some recent X fixes


open
cd gnu
atob
mode binary
get emacs-18.57.tar.Z
quit



[ Usenet Hypertext FAQ Archive | Search Mail Archive | Authors | Usenet ]
[ 1993 | 1994 | 1995 | 1996 | 1997 ]

---------

faq-admin@landfield.com

© Copyright The Landfield Group, 1997
All rights reserved