<< FTP
>> Mailbox

Getting files from a Mail server

Another way to get files is to use a mail server. This assumes that you can send mail to Internet addresses and get mail from Internet hosts. It works by sending a mail to the server specifying some commands, for example send commands for the files you want. Important mail servers are
ftpmail@decwrl.dec.com
mailserver@nic.funet.fi
ftp-mailer@ftp.informatik.tu-muenchen.de
mrcserv@janus.mtroyal.ab.ca
mail-server@ftp.cs.tu-berlin.de
mail-server@rtfm.mit.edu
The most important commands are:
@
Tells the server that you wish to get an Ascii file containing detailed explanation how to use the server.
@
Specifys that you wish to get not more than <number> Kbytes per mail. Larger files get splitted into small pieces of at most <number> Kbytes which are sent as separate mails each. Note that the mails may get larger because of overhead.
@
Sets the current working directory to <dir>. This directory is used by the commands send and dir.
@
will return a list of files and/or directories that the server offers. Note that this may be very large!
@
returns a list of files containing <item> in their names.
@
returns a list of the files and directories in the given directory.
@
Tells the server to send the given files to you.
@
Tells the server to ignore all lines above this command.
@
Like Begin, but specifies to ignore the lines below. (A signature for example!)
A typical session would be to send the following mail to the mail server:
BEGIN
CD /pub/aminet/util/arc
SEND LhA_e138.run
END



<< FTP >> Mailbox