[Solved] how to compress and uncompress the files beween HP UX and Linux OS

I have file with large size in HP-UX os. I need to compress on HP-UX and ftp to linux server and i need to uncompress the files. How can i do this? Any help is highly appreciated..

You can use gzip:

gzip -9vf filename

Then ftp the file in binary mode and then unzip file:

gzip -dv filename

excellent!! Thank you !!

Please define large in real units. There will be special considerations for anything larger than 2 Gigabytes (both before and after compression).

Please mention what version of HP-UX you have and what Operating System and version you mean by "Linux".