From: mills@athena.lkg.dec.com (George Mills)
Newsgroups: comp.lang.logo
Subject: Getting MswLogo via (ftp) mail
Summary: LOGO
Date: 12 Aug 92 13:05:55 GMT
Distribution: usa

With some help from Randy Sargent and a great service DEC provides
anyone that can use mail on the internet can also use ftp. The is
done by public service DEC provides. This is much better than direct
requests. Because, it does not go on vacation, make mistakes, forget
or have as many problems with return dresses. The following is
a request for mswlogo.

Send the following message to: ftpmail@decwrl.dec.com and you will
receive mswlogo12a.zip automatically.

----cut here----
connect 18.85.0.47
binary
uuencode
chdir pub/comp.lang.logo/programs/mswlogo
get mswlogo12a.zip
quit
----cut here----

For general knowlege here are all the options of "ftpmail"

This document describes what you put in a message mailed to
"ftpmail@decwrl.dec.com".

>>> $Id: help-text,v 1.3 1992/06/13 18:06:56 vixie Exp $
>>>
>>> commands are:

	reply <MAILADDR>	set reply addr, since headers are usually wrong
	connect [HOST [USER [PASS]]]  defaults to gatekeeper.dec.com, anonymous
	ascii			files grabbed are printable ascii
	binary			files grabbed are compressed or tar or both
	chdir PLACE		"get" and "ls" commands are relative to PLACE
					(only one CHDIR per ftpmail session,
					and it executes before any LS/DIR/GETs)
	compress		compress binaries using Lempel-Ziv encoding
	compact			compress binaries using Huffman encoding
	uuencode		binary files will be mailed in uuencode format
	btoa			binary files will be mailed in btoa format
	chunksize SIZE		split files into SIZE-byte chunks (def: 64000)
	ls (or dir) PLACE	short (long) directory listing
	get FILE		get a file and have it mailed to you
					(max 10 GET's per ftpmail session)
	quit			terminate script, ignore rest of mail message
					(use if you have a .signature or
					 are a VMSMAIL user)

>>> notes:

	-> you should send complaints to the ftpmail-request address.  our
	   postmaster does not handle ftpmail problems and you can save her
	   the trouble of forwarding your complaints by just mailing them to
	   the right address.

	-> the "Subject:" of your request will be contained in the "Subject:"
	   of all of ftpmail's responses to you regarding that request.  You
	   can therefore use it to "tag" different requests if you have more
	   than one outstanding at any given time.

	-> you must give a "connect" command, default host is
	   gatekeeper.dec.com, default user is anonymous, default
	   password is your mail address.

	-> binary files will not be compressed unless 'compress' or 'compact'
	   command is given; use this if at all possible, it helps a lot.
	   note that many files are already compressed.  if you use any of
	   the binary-file qualifiers (compress, compact, uuencode, btoa)
	   without setting 'binary' first, your session will abort in error.

	-> binary files will always be formatted into printable ASCII
	   with "btoa" or "uuencode" (default is "btoa").  if you don't
	   use the "binary" command, ftpmail will cheerfully try to mail
	   you the binary data, which will absolutely, positively fail.

	-> all retrieved files will be split into chunks and mailed.  the
	   size of the chunk is 50000 characters unless you change it with
	   the "chunksize" command.  CompuServe users will need to set this
	   to 49000.

	-> if you ask for more than 10 files in a session, you will receive
	   an error message and your entire request will be rejected.

	-> VMS/DOS/Mac versions of uudecode, atob, compress and compact
	   are available, ask your LOCAL wizard about them if you can't
	   locate them (but try gatekeeper.dec.com in /archive/pub/VMS
	   if you're still using a VMS system.)

	-> several mail unsplitters are hiding on gatekeeper.dec.com in
	   /pub/mail/ua/misc/unsplit.  includes one in c, one in perl,
	   and one in VMS DCL.

	-> there is no way to request only certain parts of a file and we
	   do not plan to add one in the near future, so please don't ask.

	-> there is no way to delete things from the queue or to find out
	   the status of things in the queue, and we do not plan to add
	   either feature in the near future, so please don't ask.

>>> examples:

	-> connect to gatekeeper.dec.com and get a root directory listing:
		connect
		ls
		quit

	-> connect to gatekeeper.dec.com and get the README.ftp file:
		connect
		get README.ftp
		quit

	-> connect to gatekeeper.dec.com and get the gnuemacs sources:
		connect
		binary
		uuencode
		chdir /pub/GNU
		get emacs-18.58.tar.Z
		quit

	-> connect to ftp.uu.net as anonymous and get a root directory list:
		connect ftp.uu.net
		dir
		quit
Xref: sparky comp.lang.logo:151 comp.sys.mac.misc:15055