*- On 26 Mar, Will Lowe wrote about "Re: How to Email a Binary file from the
command line"
>> I am wondering if anyone knows how to send a binary (.tar.gz) file from
>> the command line? I am trying to write a "batch" (Sorry my old DOS
>
> how 'bout:
>
> mail [EMAIL PROTECTED] < foo.tar.gz
>
NOOOOOOOOOOOOOO! You will destroy the file. It will send an 8bit
binary file via a 7bit ascii protocol. There is a reason uuencode and
base64 encoding were implemented. Its basically the same as sending a
binary file via ftp in ascii mode.
--
Brian
---------------------------------------------------------------------
"Never criticize anybody until you have walked a mile in their shoes,
because by that time you will be a mile away and have their shoes."
- unknown
Mechanical Engineering [EMAIL PROTECTED]
Purdue University http://www.ecn.purdue.edu/~servis
---------------------------------------------------------------------