ZLIB and .zip

is it possible to uncompress a .zip file with just Zlib.

My server has just Zlib and nothing else for ZIPs.

Any ideas?

Smilar Topics

  • Class ‘ZipArchive’ not possible. Alternatives?

    I have been told by my web host that, despite having php 5.2.9-1 compiled to work with zlib, zip will not be enabled. I am taking this one up the food chain with the web host, but in the meantime, I have to try and get on with it. Can anyone advise me a reasonable alteranative to $zip = new ZipArchi ...

  • Registered Stream Socket Transports

    Anyone out there know how to add additional transport protocol to Registered Stream Socket Transports that shows in phpinfo() ?my current setting :Registered PHP Streams php, file, data, http, ftp, compress.zlib, zip Registered Stream Socket Transports tcp, udp and i wish to set toRegistered PHP Str ...

  • zlib: appending a file to a zip file.

    Hello, im using zlib and trying to append a file to a zip that has already 1 file, im using minigzip which comes as example in zlib, the only thing i changed is:void file_compress(file, mode)char *file;char *mode;{local char outfile[MAX_NAME_LEN];FILE *in;gzFile out;// strcpy(outfile, file);// strca ...

  • zlib for CE that works with .zip??

    does anybody know where I can find a library (zlib like) that works with .zip archives for WindowsCE?I already know about zlibce, which works with .gz files, but I need to work with .zip. ...

  • zlib: appending file to zip

    Hello, im using zlib and trying to append a file to a zip that has already 1 file, im using minigzip which comes as example in zlib, the only thing i changed is:void file_compress(file, mode)char *file;char *mode;{local char outfile[MAX_NAME_LEN];FILE *in;gzFile out;// strcpy(outfile, file);// strca ...

  • Compile php with zlib on Debian Lenny (Debian 5.0)

    I need to ensure that PHP is compiled with zlib as I would like to use the zip functionality provided with net2ftp.which option would I use with the php configure script<php-x-x-dir>/configure --with-zlibor<php-x-x-dir>/configure --with-zlib-dir=/usror both<php-x-x-dir>/configure - ...

  • ZIP functions...

    Im trying to use some ZIP File Functions, but its giving the "undefined function" error. Im running version 4.3.4, and I noticed , according to the most recent documentation at php.net, that zip function are only for version 4 - 4.3.2 ...so, If I want to use those function I must "dow ...

  • Help with zlib and unzipping

    Great community here!I am a little new to php but I have been google'ing and searching every web board I've come across looking for this answer:my webhost does not support the Zip module, only zlib, it also does not give me the ability to run shell commands....sooo......this leaves me little options ...

  • unzip a zip file on linux platform

    Hai everybodyCan some one help me to unzip a zip file on linux platform using php. my php server is not installed with zlib functions.i have tried system, exec functions also. but it too failed.Help me to get rid of this problem.if some knows how to install zlib functions locally pls help.thankz in ...

  • Uncompress a zip file with php

    I would like to uncompress a zip file with php.I have tester many scripts to generate an uncompressed file but it always ended with error messages or corrupted files.I work with the Zlib libraryDoes anyone know a script that make this task?Any help will be greatly appreciated ...

  • Decompress jar file with zlib

    As we know, java jar file can be decompressed with apps like winzip, winrar, etc. I need to decompress it using zlib library. i use the zlib uncompress() method, but it returns Z_DATA_ERROR all the time.As stated in specs about .zip format, the beginning of the file should have started by 4 byte 'lo ...

  • zip header download corrupt

    hi, im having a problem with downloaded zip files.im using the create zip php script from phpclasses.org. it works okay with .txt and .doc. but when i zip up .ppt and downloaded it, it prompt corrupted file when i tried to extract.here is the script:<?php/*** Class to dynamically create a zip fil ...

  • zlib and ssh on z/OS

    I have been fighting with zlib trying to get it installed in z/OS so that I may then install ssl and finally ssh. I was only able to find one set of instructions that told me to do the following:gzip -c -d zlib-1.1.4.tar.gz | pax -o from=ISO8859-1,to=IBM-1047 -rln -s zlib-1.1.4 zlibcd zlibchmod u+w ...

  • C++ Unzip Message String which is zipped using java.until.zip

    would need your help on unzipping message which is zipped with java.util.zip.For your information my module was written in c++.Currently i am trying to unzip with zlib, how ever it failed with "Z_DATA_ERROR" error.Please advice.. thanks a lot. ...

  • zlib decompress

    I'm connecting with C# to a device over ethernet and sending him messages and reading from it.Everything is working fine for one specific message i'm getting a message compressed with RFC 1950.I have installed ICSharpCode.SharpZipLib but it is not working.Here is the code: //TcpClientTcpClient clien ...

  • python config files zip

    need to read the config file and then zip files in path. dont get any errors but files not zipping# config file[clean1]path = C:/Project/Log1action=zip[clean2]path = C:/Project/Log2action = zip#zip.pyimport zipfile, os, time, sys, ConfigParser, zlibdef zip_fh():zip = zipfile.ZipFile('%s.zip' % (path ...

  • Uncompressing .Zip file in eVC?

    Sorry for putting my question here coz it's related to eVC++but i hope here i'll get response earlier than in other places :-)My question is:How do i uncompress a .zip file on PocketPC 2002 ??? I use CZipArchive by Tadeusz Dracz usually for compression and uncompression. But its not available for wi ...

  • Using ZLIB

    I'm trying to use the ZLIB library to read in a zipped file with one file in it. I got everything to compile and link, but when I call uncompress (I need to uncompress the data from one memory buffer to another, so I can't use any of the calls that deal with files) it returns the error code Z_DATA_E ...

  • Zip -- Not Found :: zip enabled

    I have the following config from my cPanel server './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--prefix=/usr/local' '--with-xml' '--with-mm' '--enable-bcmath' '--enable-calendar' '--with-curl' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--enable-exif' '--with-swf=/usr/local/flash' ...

  • zlib library

    I am trying to zip a file using zlib library. Can somebody send me some example code?Thanx ...

  • zip_open problems ....

    I am trying to use following script .....<?zip_open( "/home/user/public_html/test2/test.zip" );?>but I receive this error.....Fatal error: Call to undefined function: zip_open() in /home/user/public_html/test2/test.php on line 2phpinfo() reports that ZLib Support is enabled (Compiled ...

  • Multiple assets into single .zip archive

    I'm an intermediate-level coder who needs help putting together a solution to an asset management tool.Users may select multiple individual files for download, some of them multiple MB in size and all of them in varied formats, and the script needs to take each of the selected files and create a sin ...

  • Compiling /w zip support in windows

    I am using cygwin, zlib, and zzip.. and zlib compiles without a problem, so does stock php(CVS). But zzip wouldnt (0.10.27 or 0.10.53) wouldnt compile at first (It gave me errors about redefined types). I modified the file causing the problem. And it compiled and installed (set the prefix to /usr). ...

  • Zipping More than one File in a single zip file

    I came across a problem when zipping files using zlib Dll. The problem is that when i zip a single file into another file it works okay.But when i try to zip more than one file in a single zip file.It overwrites previous files in that zip file and also doesn't zip the file correctly.I am using zf = ...

  • using the zlib compression library

    I have been fiddling around with the zlib compression library. I want to be able to uncompress any zip file that has been previously compressed by pkunzip or winzip. That means a zip file that has more than 1 compressed file inside it. Is zlib able to do it? My impression is no coz I dun seem to be ...

  • Uncompress ZIP-Files with g++

    after I have searched by google and every c++-forum I know, I hope you can help me.For a project I have to decompress .docx-Files, witch are simple ZIP-Files. I have found the zlib-Library, but it is not as easy to handle as I hoped. The only thing I need is to decompress the whole file in a directo ...

  • Using zlib with Borland's C++ Builder 6

    I need to use 'zlib' to decompress some files but I'm having problems installing it. I've downloaded the zip file from the website but now not sure what I have to do to use it. Do I have to build the zlib library ? If I use it 'as-is' i.e. just put the zlib.h and zconf.h in my own files I get an err ...

  • ZLib problem, no compression?

    I hope somebody have used zlib in C/C++ (VC).I modified example from http://www.zlib.net/zpipe.c to open my files and pack them, instead use of stdin/stdout. It writes to file OK, but only some random hundreds of bytes. Sometimes size of created file is ~300b, if i use a more bigger input file then ...

  • Wierd. ZLIB compression/uncompression problems...

    I just cant get the following code to work. First off the ZLIB compressor isnt compressing/uncompressing correctly (the src is originally 680kb, compressed = 78kb, uncompressed = 80kb) and many times over the statement: inp.open("d:\\Test20.zip", ios::binary); in the "uncompress area ...