From: jem@sunsite.unc.edu (Jonathan Magid)
Newsgroups: comp.os.linux.announce,comp.os.linux
Subject: the return of ftpmail
Summary: ftpmail is back!
Keywords: uucp and fidonet people rejoice
Date: 29 Dec 92 22:03:13 GMT
Followup-To: comp.os.linux
Organization: University of North Carolina, Chapel Hill

sunsite's ftpmail service is back. I have (knock on wood)
gotten rid of the evil bugs which brought the universe
to its knees.  

for those who don't know, ftpmail allows retrieval of files
from anonymous FTP sites for people who only have access to
email. The file is then uuencoded (if its binary) and e-mailed to
you in bite-sized chunks.

Right now, I ask that you only use ftpmail to access sunsite
or other archives that allow 24 hour access. Later I'm going to
add the ability to tell the difference between requests to sunsite which
can be served constantly and those to other places which will be queued
until network-friendly hours.

attached is the ftpmail help file

--------------------

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  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	


-- 
Jonathan Magid     jem@sunSITE.unc.edu       sunSITE Administrator
Virtual pizza Delivery (tm)::faxed in 30 cycles or less or you get it
----------------------------------------FREE!!!-----------------------
Newsgroups: comp.os.linux.announce