In Pine, how do I save a file attached to an email message to my hard drive?
Note: Pine is not available on any central UITS systems. UITS does not support the use of Pine at Indiana University.
Note: The software discussed here is no longer in common use at Indiana University, and UITS may no longer be able to verify the document's accuracy. The UITS Support Center may no longer have the manuals and other materials required to support this software adequately.
There are three steps to transferring an attachment from an email message in Pine to the hard drive on your local computer:
- Export the attachment to a file.
- Transfer the file to your local computer.
- Decode the file (if necessary).
To export the attachment to a file
- Select the message that has the attached file, and open it as
usual.
- Press
vto invoke the View Attach command.
- You will see a list of the attachments for that message. With the
arrow keys, select the attachment you want, and press
sfor Save.
- You should see a prompt that says:
Copy attachment to file:
Type the name you want to give the file and press
Enter. Pine will save the file to your home directory. - When you're finished, press
efor Exit Viewer.
To transfer the file to your local computer
The following is a general method for using an FTP or SFTP program to download your attachment:
- Start your FTP or SFTP program.
- Connect to your email account host, using the same username and
password you use to log in.
- The FTP or SFTP program will normally place you in your home
directory automatically. It may also automatically list the files in
your directory.
- Select the filename you used when you exported the message from
Pine, and use the
getcommand to download the file.
The file downloads on your computer to the location you specify (e.g., hard drive or floppy disk). If you are transferring a file that contains binary data, such as a graphics file or a word processing document, make sure to set your FTP or SFTP program to transfer in binary mode.
For more information on common FTP and SFTP programs, see the references below:
Transmit:
SSH Secure Shell:
MacSFTP:
Netscape Navigator (Netscape Navigator can upload and download files):
FTP (in general) and Unix FTP programs:
SFTP (in general) and Unix SFTP programs:
To decode the file
Note: In most situations, you do not have to decode the file, though you may need to decompress it. The following information may be helpful if you must decode the file.
Attachments are often encoded and/or compressed and may need to be unencoded before you can use them. You may do this either before or after you've downloaded the attachment, though the latter is usually easier. Below is a list of common encoding methods (with filename extensions that commonly identify them) and references for instructions to decode them. The programs StuffIt Expander (Mac OS and Mac OS X) and WinZip can decode most of these formats:
uuencode ( .uu and
.uue ):
compress ( .Z ):
zip ( .zip ):
- For Mac OS and Mac OS X, what programs are available to make and decompress zip files?
- In Unix, how do I create or decompress zip files?
Gzip ( .gz and .z ):
- In Unix, how can I read a file that ends in .Z, .z, .gz, or .bz2?
- What is WinZip, and how do I install it?
tar ( .tar ):
- In Unix, what kind of file ends in .tgz?
- In Unix, how can I uncompress *.Z or *.tar.Z files?
- What is WinZip, and how do I install it?
- For Mac OS X, what programs are available to make and decode tar archives?
BinHex ( .hqx ):
MacBinary ( .bin ):
StuffIt ( .sit ):
Base64 or quoted-printable:
Last modified on May 13, 2009.







