<< 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
mailserver@leo.org
mrcserv@janus.mtroyal.ab.ca
mail-server@ftp.cs.tu-berlin.de
mail-server@rtfm.mit.edu
The most important commands are:
Help
Tells the server that you wish to get an Ascii file containing detailed explanation how to use the server.
Limit <number>
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.
Cwd <dir>
Sets the current working directory to <dir>. This directory is used by the commands send and dir.
Index
will return a list of files and/or directories that the server offers. Note that this may be very large!
Index <item>
returns a list of files containing <item> in their names.
Dir [<dir>]
returns a list of the files and directories in the given directory.
Send <file1> <file2> ... <fileN>
Tells the server to send the given files to you.
Begin
Tells the server to ignore all lines above this command.
End
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