473,397 Members | 1,961 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,397 software developers and data experts.

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?

Nov 11 '06 #1
1 2058
Is this a large archive file ?
Is there many many files in this archive ?

Can you check if you don't fall in :
http://www.phpconcept.net/pclzip/index.en.php#faq03

Rgds,
PhpConcept
Pi**@piraat.test 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?
Nov 11 '06 #2

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

Similar topics

1
by: Bartolomé Sintes Marco | last post by:
Hi, In this mail, http://www.mail-archive.com/kragen-hacks@canonical.org/msg00030.html Kragen Sitaker explained how to unzip a file in Python #!/usr/local/bin/python # learn how to use...
2
by: Jerry | last post by:
My "main" class is getting a bit long...Is it possble to split a class definition into several files and then import the pieces to get the whole definition? Jerry
4
by: Vishnu | last post by:
I have a strange problem on WindowsXP proffessional with IE6 ,when i try to display a tiff file ,it is not showing ,small red x is comming up. I tried by dowloading latest IE from microsoft but...
6
by: Charles Neitzel | last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C# 2005 Express) that is nothing more than a simple UI with buttons on it. The buttons do various things like running...
2
by: Timbo | last post by:
Hi there, I’m not used to working in VB and I think this situation calls for excactly that. I use Access 97 SR-2. My first table is a table containing all the Tickets I got. The field ”Ticket”...
0
by: lisha | last post by:
Hi, I am developing one application in that,using htmleditor i am managing the site information through the backend.These files are using in front end. In that i am using the logic as first...
4
by: jonathan184 | last post by:
Hi I have a perl script, basically what it is suppose to do is check a folder with files. Now the files are checked using a timestamp with the command ls -l so the timestamp in this format is...
7
by: radha7687 | last post by:
hello friends, This is Radha. I have a querry about one of the concepts of c++ like includeing header files in c/c++ program . When i try to inlclude header files for for...
3
by: DR | last post by:
Why is its substantialy slower to load 50GB of gzipped file (20GB gzipped file) then loading 50GB unzipped data? im using System.IO.Compression.GZipStream and its not maxing out the cpu while...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.