Using file compression systems

File compression systems are ways to make the sizes of files less than they actually are. All files on a computer system are of one or another format denoted by a three letter “file extension”. These three letters denote the type of file. A wordprocessor document may have the .DOC extension and pictures maybe called .GIF (Graphics Interchange Format) or .JPG. The type of file is very important as some use more filespace on the computer than others. .JPG for instance is itself a form of file compression,as is the audio format .MP3. The exact workings of such files do not concern us here. The types of system used to compress multiple files for possible use with Email is what we are going to look at.

There are several ways to compress files for use with attachments to Emails. One of the most common is the .ZIP format,which is sometimes integrated into the attachment process.

There is also the archiving .RAR and “Backup” systems which produce compressed file sets. For the purposes of keeping things simple and because the general techniques are similar no matter what system is used, we will use .ZIP as an example and also look at .MIM or MIME files which is another coding method used with Emails.

WINDOWS XP

The XP operating system works slightly differently to Windows 9x so both systems will be shown here for comparison. On XP the compression is built into the operating system and it is a matter of right clicking on the file or folder and choosing “properties”.

Clicking on the “Advanced” tab brings up the dialogue to select compression for the file or folder.

Clicking in the “Compress contents” box will enable file compression.The filename will become blue indicating that it is a compressed file. To uncompress the file,merely untick the box in the same dialogue. If you are compressing a whole folder,then an extra dialogue will show asking for confirmation of whether only the folder is to be compressed or everything it contains.

To create a ZIP folder for files choose "New ZIP folder" from the FILE menu.

This will create a folder marked with a ZIP ready for files to be pasted into it.

It is then merely a matter of moving files over the folder to put them inside or cutting and pasting the documents into the folder as if it was a normal folder. For the purposes of Emailing,the Zipped folder is then used as the attachment.For information on this,see the Email attachments document.

WINDOWS 9x

On Windows 9x systems the procedure is similar.The difference is mainly due to the fact that WINZIP.exe needs to be installed on your system.This is freely available as a download from many sites.Search for it on Google if it is not on your system. Once it is installed and run and you agree to the terms of use,the following screen appears.

The action of Winzip is to create a compressed version of whatever files are added to it’s list.A new ZIP file can be created using NEW.Alternatively,once Winzip is installed it becomes integrated into Windows Explorer and is available from the drop down menus. The FILE – NEW section will allow creation of ZIP files rather like XP.

Winzip shortcut on the FILE>NEW Menu

 

Another way of accessing Winzip is to right click on the file or folder to be compressed,this will give several options for compressing the file.

Winzip shortcut on the Right Mouse click

The right click allows automatic creation of the titled zip folder,in this case “New Web” and also the ability to Email the folder.

 

The following is taken from the WINZIP help file,which explains why ZIP and MIME type files are used.

  
WINZIP HELP Sending Files using Internet Mail

 If you have a direct connection to the Internet, you may already be using an e-mail program that allows you to attach files to messages. However, many e-mail programs, including MSMail and some versions of CompuServe Information Manager (WinCIM), cannot easily transfer files to Internet addresses. In the case of CompuServe, users with older accounts who have not converted to “new mail” cannot easily send files beyond the bounds of their own service, to Internet subscribers and others. WinZip® allows you to send and receive files using nearly any e-mail program, including these two.

  Note: If your e-mail program does have the ability to transfer files, consider using WinZip to compress them before transfer -- it will usually take far less time since the file will be smaller. If the recipients are unfamiliar with Zip files, you can use WinZip to create a self-extracting archive for their convenience.

WINZIP HELP The Why behind UUencoding and Other Schemes

  The Internet was not designed to carry binary (program and other non-text files) files. It is able only to transfer messages made up of conventional text (printable ASCII) characters. In order to get around that limitation, UUencode and other methods were created.

  These solutions all perform the same basic operation: they encode the non-transferable binary file into ASCII characters that the e-mail system can handle. The person receiving the message can then decode the strings of characters to recreate the original file. Perhaps you have seen one of these completely unintelligible messages; here's an example:

_=_

  _=_ Part 001 of 001 of file encoded.txt

  _=_

  begin 666 encoded.txt

  M5&5S="$-"@T*1V5N=&QE(%)E861E<CH-"@T*5&AI<R!I<R!N;W1H:6YG(&UO

M<F4@=&AA;B!A('1E<W0@9FEL92!C<F5A=&5D('1O('!R;W9I9&4@9F]D9&5R

  M(&9O<B!T:&4@=F%R:6]U<R!E;F-O9&EN9R!S8VAE;65S+B!)9B!Y;W4@87)E

M('5S:6YG(&ET('1O('1E<W0L(&-O;F=R871U;&%T:6]N<R!O;B!Y;W5R(&%G

M:6QI='D@:6X@8W5T=&EN9RP@<&%S=&EN9RP@<V%V:6YG+"!A;F0@9&5C;V1I

:;F<@=7-I;F<@5VEN6FEP+@T*#0I%;FIO>2$`

  `

end

  WinZip® can easily open and extract UUencoded, XXencoded, BinHex, and MIME files (base64, plain/text, and quoted-printable) that have been sent to you, and create Uuencoded files for you to send.

 Copyright © 1991-2000 by WinZip Computing, Inc.  All rights reserved.

Points to remember about File Compression:

  • The objective of file compression is to save disk space.
  • A standard compression format is .zip.
  • You may need special software to uncompress compressed files.
  • Windows XP has a built in compression system.