Garbo's ftpmail server instructions
------------------------------------

What is it?
------------

Ftpmail is a service for those Internet users who can not utilize an FTP
client software. Please DO NOT use ftpmail if you have a direct Internet
connection. Ftpmail will FTP files for you and then  emails them back to
your account.

How do I use it?
-----------------

You use ftpmail by sending email to account

 [email protected]

You can freely  choose the subject line since  ftpmail does not check it
in any way.   You  use ftpmail by writing   commands in the body of  the
message you send to it. Valid commands to the ftpmail gateway are:


reply-to email-address          Who to send the response to.  This is
                               optional (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
                               garbo.uwasa.fi anonymous reply-to-address

>>If there was an open then it can be followed by up to 50 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
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 garbo.uwasa.fi and send back the contents of the top level
       directory

reply-to [email protected]
open
cd pc
get INDEX.ZIP
quit
       Connect to garbo.uwasa.fi and send back the file INDEX.ZIP to
       [email protected]

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.


Are there other ftpmail servers?
---------------------------------

Yes, many. Hear are few of them:

[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]


Problems?
----------

In case you run in to difficulties, please email to

 [email protected]


................................................................
Tommi Rintala, [email protected], http://www.uwasa.fi/~t2r
Moderating at garbo.uwasa.fi anonymous FTP archives 193.166.120.5
Computer Centre, University of Vaasa,  Box 700, FIN-65101 Finland