Compress in UNIX ftp the uncompress in windows server

Hi all,

I need a shell script that will compress all the files in the UNIX box say /output/foldre/OUT/*.out.

  1. I need to compress all the .out files present in this path.
  2. The compressed files shuld be FTPed to Windows server say C:\Myfiles
  3. Then the FTPed files should be uncompressed at the windows server.

Currently i am using compress -f /output/foldre/OUT/*.out command to compress the files. this is compressing good in deed but while uncompressing at windows server it do not contain any data.

Kindly help me

how do you uncompress at Windows? using what tool? and show your code.

i just extract the files using winzip at windows side.

then use gzip at unix side