473,395 Members | 1,335 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

zlib - adding many files

K.
Hello!

Is it possible to create i.e. truck.gz compressed file, which
contains i.e. 4 files: truck1.jpg, truck2.jpg, truck3.jpg, truck4.jpg?

If so, how should I implement such code to achieve this using gzwrite and
any other functions?

I couldn`t find the example on internet.

Thank you in advance
M.
Jul 23 '08 #1
3 1405
K.

Użytkownik "K." <ha************@poczta.onet.plnapisał w wiadomości
news:g6**********@news.onet.pl...
Hello!

Is it possible to create i.e. truck.gz compressed file, which
contains i.e. 4 files: truck1.jpg, truck2.jpg, truck3.jpg, truck4.jpg?

If so, how should I implement such code to achieve this using gzwrite and
any other functions?

I couldn`t find the example on internet.

Thank you in advance
M.
I have solved the problem.
Gzip functions doesn`t give me such funcionality.
I used pclzip.lib.php and I can pack a few files into one archive file

M.
Jul 23 '08 #2
K. wrote:
Użytkownik "K." <ha************@poczta.onet.plnapisał w wiadomości
news:g6**********@news.onet.pl...
>Hello!

Is it possible to create i.e. truck.gz compressed file, which
contains i.e. 4 files: truck1.jpg, truck2.jpg, truck3.jpg, truck4.jpg?

If so, how should I implement such code to achieve this using gzwrite and
any other functions?

I couldn`t find the example on internet.

Thank you in advance
M.

I have solved the problem.
Gzip functions doesn`t give me such funcionality.
I used pclzip.lib.php and I can pack a few files into one archive file

M.

What has this to do with php?
Jul 23 '08 #3
K.

Uzytkownik <sheldonlgnapisal w wiadomosci
news:Rv******************************@giganews.com ...
K. wrote:
>Użytkownik "K." <ha************@poczta.onet.plnapisał w wiadomości
news:g6**********@news.onet.pl...
>>Hello!

Is it possible to create i.e. truck.gz compressed file, which
contains i.e. 4 files: truck1.jpg, truck2.jpg, truck3.jpg, truck4.jpg?

If so, how should I implement such code to achieve this using gzwrite
and
any other functions?

I couldn`t find the example on internet.

Thank you in advance
M.

I have solved the problem.
Gzip functions doesn`t give me such funcionality.
I used pclzip.lib.php and I can pack a few files into one archive file

M.

What has this to do with php?

I don`t know what you mean.

M.
Jul 23 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Tony | last post by:
Hello, Any assistance would be appreciated: As the subject suggests I am trying to gunzip files using the Compress::Zlib module. The following is basically the code that I am working with: ...
6
by: Laszlo Zsolt Nagy | last post by:
Sorry, I realized that the import zlib was not executed from my (working) service. So here is the question: why can't I use zlib from a win32 service? Is there any way to make it working? ...
1
by: Dennis Powell | last post by:
Does anyone have a successful implementaion of the zlib.dll in VB. Net they can show me. I'm writting a class encaplsulating zlib functionality and I keep getting a System.NullReferenceException...
0
by: Jan Prochazka | last post by:
Hi, I need to decompress zip archive. I wrote a parser of zip file, i obtain the compressed data, but when i call zlib.decompress(data) on them, it throws this error: decbuf =...
0
by: Jan Prochazka | last post by:
Hi, I need to decompress zip archive. I wrote a parser of zip file, i obtain the compressed data, but when i call zlib.decompress(data) on them, it throws this error: decbuf =...
4
by: shamzz | last post by:
Hi, I've compiled (configure/make/make install) Python 2.4.4 from source on Suse Linux Enterprise Server 9 (x64). I need Python to be compiled with Zlib so that I can compile and use Zope. ...
0
by: Bint | last post by:
Hello, I am trying to decompress some data in a file, from PHP. It's data that has been zlib-compressed on a handheld device and sent wirelessly to the PHP server. I can open the file and...
2
by: Bint | last post by:
Hi, I asked a question yesterday but no one answered, I will try again. Anyone use stream_filter_append, specifically to decompress zlib-compressed data? I'm trying to use it on a section of data...
4
by: ZedLep | last post by:
Hello, First of all I'm a relatively inexperienced C++ programmer so this may seem a simple question to answer. I'm trying to use zlib from www.zlib.net to decompress some data. However I run...
4
by: MZ | last post by:
Hello! I`ve tried to instal zlib library to use zip functions to pack files into zip archive. I don`t know how I have to configure zlib to make it work. I have built up php.ini file and...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.