Questions tagged [ziparchive]

ZipArchive is a PHP extension for manipulating zip compressed archives.

ZipArchive provides procedural and object oriented approaches for creating, extracting and editing zip archives. The php manual provides a full documentation for both approaches, while on wikipedia history and technique of zip compression is covered.

818 questions
-2
votes
1 answer

ZipArchiveEx class not found using laravel 4

I have laravel4 setup in local pc with php version 5.5.6. In Laravel setup i installed the 'codeless/ziparchiveex' module and installed fine but when i put ziparchive coding in my controllers it gives error message "ZipArchiveEx Class Not Found". I…
-2
votes
1 answer

How can I run a PHP file and archive the output?

I have a PHP file whose output I want to add to a zip archive (using PHP's ZipArchive class). However, when I try to add it, it just gives me the PHP source code, unprocessed. How do I ensure the PHP is run and processed before adding it to the…
Ky -
  • 30,724
  • 51
  • 192
  • 308
-3
votes
1 answer

Hive CASE WHEN THEN ISSUE

Below is the code failing in Hive: (Alias at 6:5 (END) is not recognized) INSERT INTO WRKT_REGULATORY_COMPONE_RECLASS select case when WRKT_REGULATORY_COMPONENT_FINAL.REVENUE_FLAG != 'Y' AND WRKT_REGULATORY_COMPONENT_FINAL.EXCLUDED_FLAG = 'Y' THEN…
-3
votes
1 answer

how can i create zips with filename contain '/'

$zip->addFromString('filename_part1 / filenamepart2', $data); The result is a dir named 'filename_part1' contain a file named 'filenamepart2'.Bu t i only want a file named 'filename_part1 / filenamepart2'.
rth
  • 11
  • 1
-3
votes
2 answers

Zip only files starting with mprm* into mprm.zip in python

I am trying to write a code to zip files starting with mprm* to mprm.zip file. My directory has 100 different files with all different types of extension. As in Bash we can do zip -r pathtofile/mprm path2Destination/mprm* is there something in…
-4
votes
1 answer

Do not remove duplicate values from array

I have written this code to download files after adding them in a zip file. However, my code removes the files which have the same name ( duplicate ).
M.Muzammil
  • 31
  • 5
-4
votes
1 answer

How can I bypass GoDaddy Inode Limit (fixed to 250000 files) to store a lot of image?

I've a lot of jpg images: About 30000 folder containing 5 images each --> Total amount it's about 150000 images and I want to reduce the inode number (file count on the server) because it's placed into my hosting server. So, now it's ok but if in…
Elius94
  • 37
  • 2
  • 8
-4
votes
3 answers

FIND A SPECIFIC FILE IN A FOLDER "C:\TEST" THAT CONTAINS MULTIPLE ARCHIVES ".ZIP" USING C#

I have a folder "c:\test" which contains multiple archives. How do I search through all the archives in this folder for a specific file. This only search a particular archive using ZipPath: private void button1_Click(object sender, EventArgs e) …
1 2 3
54
55