<FTP EMAIL> response
firstname.lastname@example.org - ftp's files and sends them back via electronic mail.
If you have problems please email archive
and quote the following line:
$Revision: 1.25 $
>>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
>>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
ftp.sunet.se anonymous reply-to-address.
>>If there was an open then it can be followed by up to 100 of the
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
These are mutually exclusive options for
converting a binary file before emailing.
(Default is uuencode.)
Force all files or directory listings to
be encoded before sending back.
There is no default.
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.
As mime but force text files to be sent as
Turn the option off.
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.
Change the mode selected for the get
command. Defaults to binary.
quit End of input - ignore any following lines.
Example scripts are:
Connect to ftp.sunet.se and send back the contents of the top level
Connect to ftp.sunet.se and send back the file buffer.shar to
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.
Retrieve some recent X fixes