Pclzip unzipped files not showing

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Piet@piraat.test

    Pclzip unzipped files not showing

    I've been trying to use PCLzip to extract uploaded archives with the
    following code:

    $archive = new PclZip('temp/temp.zip');
    if ($archive->extract(PCLZIP _OPT_PATH, 'temp/') == 0) {
    die("Error : ".$archive->errorInfo(true ));
    }

    It doesn't report an error, but the files don't show up. Attributes
    are 777 on the temp dir. If I list the contents of the zip, they
    show up properly.

    Anyone know what's wrong here?

  • phpconcept@gmail.com

    #2
    Re: Pclzip unzipped files not showing

    Is this a large archive file ?
    Is there many many files in this archive ?

    Can you check if you don't fall in :


    Rgds,
    PhpConcept


    Piet@piraat.tes t wrote:
    I've been trying to use PCLzip to extract uploaded archives with the
    following code:
    >
    $archive = new PclZip('temp/temp.zip');
    if ($archive->extract(PCLZIP _OPT_PATH, 'temp/') == 0) {
    die("Error : ".$archive->errorInfo(true ));
    }
    >
    It doesn't report an error, but the files don't show up. Attributes
    are 777 on the temp dir. If I list the contents of the zip, they
    show up properly.
    >
    Anyone know what's wrong here?

    Comment

    Working...