ZIPX library?

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat ZIPX library?
# 1  
Old 02-14-2013
Linux ZIPX library?

Hello,
Our system on a Redhat platform is generating ZIP archives that we then send to another system on a Windows machine. I have no issue generating a ZIP file containing up to 2GB worth of data and 350k files, I can unzip all contents on the machine with no issue, however the remote system on Windows is using WinZip 17 to extract the files and it has a limitation of maximum 65k files in the ZIP.

I am therefore exploring the possibility to send them a zipx archive instead, as they are convinced they would be able to handle this volume of files in this format, however I can't find anything on the internet showing zipx support for Redhat? I know zipx is quite a new format, but I´m surprised I can't find any library on the internet that I could test on my machine. Any advice?

Thanks & Regards
Yann
# 2  
Old 02-14-2013
7zip on windows - free. Create a tar archive on RH. Zip the one archive.
Send it to windows. Unzip and then untar using 7zip.

The unsigned short limit of 65K is an old zip issue. This is why people tar up large numbers of files, then zip just one tar archive.
# 3  
Old 02-14-2013
Quote:
Originally Posted by jim mcnamara
7zip on windows - free. Create a tar archive on RH. Zip the one archive.
Send it to windows. Unzip and then untar using 7zip.

The unsigned short limit of 65K is an old zip issue. This is why people tar up large numbers of files, then zip just one tar archive.
Thanks for replying. So something like TAR everything and ZIP the single file. Alright, that's one thing I haven't tested yet. I assume this 7zip tool can be imvoked as part of an automated process.

I´ve already tried to gzip every indivual file, tar everything and send the single file. I´ve tried TGZ as well, but both "solutions" are time consuming.

Otherwise I came up with the alternative to split the files into 50k "blocks" (thus flying under the limitation) and send multiple ZIP archives (between 1 and 6 basically in our case) but I actually think the solution is bad.

EDIT: Is it a fair assumption to say that most businesses would opt for a solution involving TAR?

Last edited by Indalecio; 02-14-2013 at 09:51 AM..
# 4  
Old 02-14-2013
It depends on what software the businesses have available. I know I've had problems with GNU tar and large files on Windows systems.

7zip sounds like a good option to me, know for a fact it works well in UNIX and windows.
# 5  
Old 02-15-2013
Quote:
Originally Posted by Corona688
It depends on what software the businesses have available. I know I've had problems with GNU tar and large files on Windows systems.

7zip sounds like a good option to me, know for a fact it works well in UNIX and windows.
We´ve also had problems with 3.5-4GB tar files on Windows 32-bit systems so that's definately something we need to simulate before going for it. One of the main problems is that it takes so much time for the Windows system to process the ZIP/TAR file that you don't know whether that's the standard time to deal with files of that size or if the application is actually hanging or unstable (in terms of abnormal cpu usage).

And then our customer is trying to push us for WinZip despite the technical limitations because of their mindset towards open source and freeware software. So I´m kind of caught between the technical constraints and applications doing the job only partially (screaming for bad designs or workarounds).

Anyway, I´ll give this a go. Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Programming

C++ linking library to a library

Hi All, My application main engine will use a shared library where we do many operation. We are trying to implement the linear algebra operation on the shared library for that I need to link my shared library to the lapack library in /usr/lib. Below is my make file. Can you please let me... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies

2. AIX

Add shared members from library to same library in a different directory

I'm trying to install libiconv to AIX 7.1 from an rpm off of the perzl site. The rpm appears to install but I get this error message. add shr4.o shared members from /usr/lib/libiconv.a to /opt/freeware/lib/libiconv.a add shr.o shared members from /usr/lib/libiconv.a to ... (5 Replies)
Discussion started by: kneemoe
5 Replies

3. Linux

./configure problem for libsf library due to apparently missing libdb library.

Hello, ./configure script fails to configure libsf. Please check the following last few lines of configure script error. checking for db1/db.h... no checking for db.h... yes checking for dbopen in -ldb1... no configure: error: No libdb? No libsf. But find command shows the following; ... (4 Replies)
Discussion started by: vectrum
4 Replies

4. Linux

Could static library include static library?

I have some static library(libxxx.a libyyy.a). And I want to generate my library(libzzz.a), libzzz.a will use libxxx.a and libyyy.a I wan't my application only use libzzz.a, (means libzzz.a had include libxxx.a, libyyy.a), how can I do that? Thank you. example: I have zzz.c. I do ... (4 Replies)
Discussion started by: freemagic
4 Replies

5. Shell Programming and Scripting

Help on extracting file with zipx extension

Please guide me in extracting a file with .zipx extension (3 Replies)
Discussion started by: mohan_xunil
3 Replies

6. Shell Programming and Scripting

How to change a Makefile from building static library to shared library?

Hi: I have a library that it only offers Makefile for building static library. It built libxxx.a file. How do I in any way build a shared library? (either changin the Makefile or direct script or command to build shared library) Thanks. (1 Reply)
Discussion started by: cpthk
1 Replies

7. Programming

C library

Does anybody know are there free C library that implements most features of C++ standard library? e.g. I've used Berkeley in-memory db as maps (hash) but this isn't sufficient (7 Replies)
Discussion started by: Hitori
7 Replies
Login or Register to Ask a Question