Issue: Compress in unix server and FTP to windows and open the compress file using Winzip

Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Issue: Compress in unix server and FTP to windows and open the compress file using Winzip
# 1  
Old 10-30-2009
Issue: Compress in unix server and FTP to windows and open the compress file using Winzip

Hi All !
We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows.

I have used the utility ZIP like the below.

zip -e <newfilename> df2_test_extract.dat

but when I compress files greater than 4 gb using zip utility, it produces error.

Please suggest me for my requirement.

# 2  
Old 10-30-2009
That's because of a limitation in the ZIP format specification (see Info-ZIPs FAQ). The algorithm ZIP uses uses 32bit pointers, which limits the file size to 2^32 Bytes, or 4 GB.
# 3  
Old 10-30-2009
Is ther any alternative way to follow other than ZIP utility for the requirement?

# 4  
Old 10-30-2009
You can use zipsplit

or gunzip (man gzip)

Last edited by mkastin; 10-30-2009 at 01:22 PM..
# 5  
Old 11-02-2009
Thanks a lot UNIX team.

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP using script not working (for transfering file from a remote unix server to windows PC.)

hi, Im using the following code for FTP #!/usr/bin/ksh ftp -v -n "" << cmd user "mahesva" "mahesva123" get rtl.tar quit cmd Below is the log when i run the above code ********************************** Connected to 220 (vsFTPd 2.0.1) 530 Please login with USER... (20 Replies)
Discussion started by: dll_fpga
20 Replies

2. Shell Programming and Scripting

Need help for ftp a file from unix to windows server

I have a problem with ftp. i want to ftp a file "file.txt" from unix box to windows server. The destination folder is something like this: "\\windowsservername\apps\is\" FTPUSER=ftp1 FTPPASS=**** ftp -v -d -n > ftplog <<!EOF open windowsservername user $FTPUSER $FTPASS cd... (3 Replies)
Discussion started by: Diddy
3 Replies

3. Shell Programming and Scripting

UNIX script to FTP file from UNIX server to windows

Hi, I am new to this subject.....Can someone please help me out with the script... unix usernm "sdhftst" unix pwd "chsd13" windows usernm "dfghtst" windows pwd "chsd13" path..../xxx/xxxxx/xxxxxx/xxxxxxx please can u get me a script...its only one file to get ftp. Thanks... (2 Replies)
Discussion started by: himakiran9
2 Replies

4. Shell Programming and Scripting

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... (3 Replies)
Discussion started by: Codesearcher
3 Replies

5. Shell Programming and Scripting

unix script to takes the old data from a TXT file and compress them into new file

Hi, I am looking for the unix script which can takes the 2 month old data from a TXT file (there is one txt file in whiche messages are appended on daily basis) and compress them into new file.Please halp me out. (2 Replies)
Discussion started by: vpandey
2 Replies

6. Shell Programming and Scripting

Compress a file before ftp

Hi, I have a script that ftp's to over 100 deifferent servers in turn, gets a specific file, renames it and drops it onto a local backup server. The files vary in size from 4mb to 150mb. I am within a secure intranet to security with ftp is not an issue. I want to auto compress the file... (1 Reply)
Discussion started by: MrMac
1 Replies

7. UNIX for Dummies Questions & Answers

compress a file in unix

Hi, I want to compress a dmp file and ftp to another machine.pls tell me the steps to compress and uncompress the file in unix Thankyou (5 Replies)
Discussion started by: rujupriya
5 Replies

8. HP-UX

Compress while wrting to a file using a unix pipe

I would like to know if the following can be done. route output from an sql select directly to a pipe and compress it at the same time. regards Albert (2 Replies)
Discussion started by: booyena1
2 Replies

9. UNIX for Dummies Questions & Answers

Compress in Unix

I tried Compress ; gzip and bzip . And they don't always compress files to small . Can someone tell me if there is any compress tool better than those ? thanks (1 Reply)
Discussion started by: Sasuke
1 Replies

10. UNIX for Advanced & Expert Users

Unix compress-Wintel uncompress

Is it possible to compress a large Unix file (16GB), then FTP it to a Wintel machine running XP then uncompress? I have already attempted to FTP the 16GB file but it stops at 4GB because XP FAT32 formtted drives will only allow 4GB file sizes. The 16GB file in Unix(Solaris) compresses to... (3 Replies)
Discussion started by: rampart1
3 Replies
Login or Register to Ask a Question