Sun Java System Portal Server, Secure Remote Access Netfile Java 2 Online Help |

Contents Index

> # Compressing Files

> Click Compress to reduce the size of the file or files selected in the file display pane. The compression scheme used is Zip, which is 6.3 or greater, and is UNIX gzip compatible.

> Use Compress to decrease the size of a file, in most cases. The smaller the file, the less time it takes to transmit it. Graphics (bmp and tiff) and PostScript files (ps), in particular, are quite large and compress (zip) to very small files.

> If you compress a file, you must have a utility to uncompress the file. Many different programs exist on all platforms, including WinZip for Microsoft Windows.

> ### To Compress a File

> 1. Select one or more files in the file display pane. The Compress button is enabled only when a file is selected.

> Note | You can select multiple files for compression. But this will not result in a single compressed file. Individual compressed files are created for each file selected. For example, if you choose 10 files together and click Compress, 10 different .zip (or .gz) files are created.

> 2. Click Compress.

> The Compress File(s) dialog is displayed asking for confirmation to compress the selected files.

> 3. Choose ZIP or GZIP as the method of compression in the Compress File(s) dialog and the integer corresponding to the compression level. Then click OK.

> Note | The compressed files have the same names as the original files, with a .zip extension. For example, compressing bigfile.txt results in creating a new file called bigfile.txt.zip.

Contents Index