I would like to be able to unpack a .zip file using ASP classic.
I have had a bit of a poke around on google for something that will allow me to do this, and there seems to be a fair amount libraries out there. However all of these as far as I can tell require me to install a third party DLL.
The server that this script will be deploy...
Hi,
I have a problem with the php_zip.dll's ZipArchive class. I'm using it through the ZipArchiveImproved wrapper class suggested on php.net to avoid the max file-handle issue.
The problem is really simple: 700 files are added properly (jpg image files), and the rest fails. The addFile method returns false.
The PHP version is 5.2.6.
...
Is there a simple way to create a zip archive in C++? I'm writing a GPL app and I looked in to minizip but it seems too complicated. Is there a simple library to do this? I already have the files on the disk, I just want to make a zip from them.
...
this is dankogai's javascript deflate http://github.com/dankogai/js-deflate
I can't inflate from c#,please help me
...
I read through the zipfile modules docs, but couldn't understand how to unzip a file, only zip a file. What is the simplest way to unzip all the contents of a zip file into the same directory?
...
Hi All,
I'm currently writing an iPhone app where I need to uncompress several files from .pak archive. I'm assuming libz.dylib will probably have the ability to do this but I'm having a hard time find any code on the subject.
Anyone got any example code or can point me in the right direction? Any help at all would be much appreciated...
Hello
How I can make zip vlaidators that will check entered zip with really zip from database?
Like this: http://zip4.usps.com/zip4/citytown_zip.jsp but on flex.
If there is no way to yse outside database - I can create my - but I nneed list of all zip codes
best
Vladimir
...
I'm creating a zip file in PHP for the user to download. I get no errors from PHP or from checking the zipArchive class's GetStatusString function. But if I put some files into the archive, then when I try to open it, I get the error "the compressed (zipped) folder is invalid or corrupted". I've checked all the files I'm adding, they ...
I have previously been using Chilkat Zip .Net to generate backup files from my application, but after having issues with the Component, moved to Xceed Zip .Net for the same function.
If you take one of the Zips generated with the Chilkat and attempt to extract using Xceed, 7Zip, WinZip then it fails.
If you take the same file and extra...
I have built a console application that works okay when it references a .exe file from a Program Files, but my users may not have that .exe in their Program Files directory.
I would prefer to keep the package as a single .exe for simplicity, so I was wondering how I can combine the two .exe's into one package.
One thing I thought of is...
Hi All ,
I am trying to create a zip file using servlets but it returns me a corrupt zip file , here is the code for that in zipcontents function i am creating the zip , can someone help me out. Thanks in Advance.
public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException,
IOException {
ByteArr...
I am currently trying to create a content uploading system and although there are error being made from the page when I check the appropriate folder for the contents it is empty
$chapterZip = new ZipArchive();
if ($chapterZip->open($_FILES['chapterUpload']['name']))
{
for($i = 0; $i < $chapterZip->numFiles; $i++)
{
$p...
I have a Java program that creates a number of xml file and then zips them up and saves them to the file system. Later in the program I want to put that same zip file into a blob column of my oracle database. Problem is I'm not sure how to do that. I don't need to read it or do anything with the data, just move it to the database for p...
Hi there,
I tried to find the answer to this in several places and failed, so here it goes:
I have a directory, say, "Project" which has a lot of sub directories and files. I want to make a batch program which just zips this Project directory. But also, I want to skip just a few particular files and just one folder.
I figured that I ...
I am rsync'ing a a folder from one host to another, I am then zipping the mirrored folder so that it can be transferred to tape.
Now, when I zip the folder (bearing in mind that the folder is ~300GB) using the below script it keeps the files which have been deleted from the directory that I am zipping.
zip -ru /home/rsync/www.zip /home...
getNameIndex($i)I am currently using the zip archive function to extract some images, I am looking for a method which gives the filepath of each individual image so I can use getimagesize to get the width and height, below is the method am using to loop through the files.
$chapterZip = new ZipArchive();
if ($chapterZip->open($_FILES['ch...
I have some code here to call minizip(), a boilerplate dirty renamed main() of the minizip program, but when I compile, I get undefined reference to `minizip(int, char*)*. Here's the code.
int minizip(int argc, char* argv[]);
void zipFiles(void)
{
char arg0[] = "BBG";
char arg1[] = "-0";
char arg2[] = "out.zip";
char arg3[] = "serv...
I am trying to copy over some files pulled out from a zip folder, from out of the directory. I modified the code from this page
http://stackoverflow.com/questions/859396/extract-directory-inside-zip
for the most part it works, but when it is attempting the rename the directory files it pulls I get the following error
Warning: rename...
Hello friends,
I'm using lib ZipArchive to unzip file on iPhone, it works pretty well, however I met a issue about checking if a zip file is protected by password.
I'm wondering if there's a function to check whether a zip file is protected by password before unzipping, but I didn't get lucky to find an api for that. So does anyone wh...
I'm trying to put together a zip streaming solution through the use of Unix's zip command and PHP's passthru function, but I've hit a snag.
The script looks something like this:
<?php
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachement; filename=myfile.zip");
passthru("zip -r -0 - /stuff/to/zip/")...