|
|
Parent Directory
| uuencode/uudecode
Brett Lee
=============================================================================
What is it? A way to send binary files over older transport mechanisms.
Lets say you have a binary file named "ieee.jpg" that you want to send,
but you don't have FTP. All you have is 'cat' and 'mail(x)'. Here's
what you do.
1. Encode the file:
uuencode ieee.jpg ieee.jpg > ieee.uu
The reason there are two ieee.jpgs in the command line is that the first refers
to the file we are encoding and the second refers to the filename we want it to
decode to at the other end.
2. Send the file:
mail gm01@somewhere.com < ieee.uu
cat ieee.uu | mail -s'file attached' gm01@somewhere.com
...whatever...
3. On the other end, save the file and decode it:
uudecode ieee.uu
As simple as that. Now gm01 will have the file ieee.jpg on the other end.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In an effort to provide a service of value to the open source community, I've put together this website that containing many of my notes and references.
This website is not authoritative and it is certainly not without errors; it is a work in progress.
In addition to my contributions you will also find the work of others. Where the work is not mine, I have tried to indicate that, and to reference the source of the work: by citing the original author, retaining the authors' name and license wherever present, or by placing the work in a suitably named URL containg /external/ in the path. If you find any work here that should not be publically available, please send me a note and it will be removed.
As for my contributions, you are free to use any of *MY* notes or code from this website unless specifically instructed otherwise.
Brett Lee, Ph.D., President & CEO
Everything Penguin, Inc.
|
|
|