Convert zip file timestamps to human readable format
How can the file last modification date and time, for files in a zip file, be converted to a human readable format? ...
How can the file last modification date and time, for files in a zip file, be converted to a human readable format? ...
There are several versions of the ZIP format (http://en.wikipedia.org/wiki/ZIP_%28file_format%29#Version_history). It's unclear which version Java supports. In the source for ZipOutputStream it defines a constant related to the "minimum version to read" part of the header, but I'm not 100% certain that's the proper way to reverse engin...
Hey everyone, I have written a script that downloads a zip file from a remote source, and then is supposed to extract the zip file to a directory. Below is the script: <?php $url = "http://example.com/some_file.zip"; download($url,'file.zip'); function download($url,$file_name = NULL){ if($file_nam...
Hello, I want to zip a file within a thread using the TZipMaster component. The problem is, when I run the program from the IDE I get the error (from windows) "the program doesn't respond anymore. -> Search online for a solution -> Close program" (or somehting like that I don't know the exact message in english.." However, t...
Hi, I have a zipx file that is using compression method 2048. I know that the ZIPX format uses one of four compression methods (LZMA, BZIP2, PPMd, WavPack). The compression method number associated with each of these methods is: LZMA (14) BZIP2 (12) PPMd (98) WavPack (97) Does someone understand what compression method 2048 stand...
Hi, I am using pclzip library to compress files at server level. It works fine, except with one batch of files where the routine dies when adding a certain files. No error messages, the PHP just ends with a blank screen. I assumed this was maybe because the file was a 15MB docx, so I raised the PHP memory limit in the INI to 32MB, but...
I've just created a "bundle creator" app and I'd like to be able to produce a zipped .bundle file rather than have to copy the whole bundle folder. ICSharpCode.SharpZLib Zip library to scuessfully create a archive file however the iPhone doesnt appear to uncompress it. ...
I'm really kind of surprised I couldn't find an answer to this on Google. Especially since xml files lend themselves to being zipped since they are so verbose. I'm implementing the sax reader from the msxml library in my VB6 program to read large multi-gigabyte xml files from a zip file. Unzipping these files to the hard drive and then ...
When creating a zip from ant, how can I exclude all sub directories and files from a given directory? I have tried the following but it doesn't seem to prevent them from being included in the zip <target name="zip"> <zip destfile="C:\Projects\example\builds\.zip" excludes="C:\Projects\example\logs\**\*.*"> ... ...
I'm using the pclzip class to autoupdate, and it keeps giving me this error when I try to run an auto update. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature It has never given me problems before. I use the windows 7 'send to compressed zip folder' command. I've rezipped and re-uploaded countless time...
How do you zip two sequences in Clojure? IOW, What is the Clojure equivalent of Python zip(a, b)? EDIT: I know how to define such a function. I was just wondering whether standard library provides such a function already. (I would be *very* surprised if it doesn't.) ...
i am using PclZip to extract zip file, my problem is how can i extract the zip file into different folder by creating a new folder if the folder is already exits.. Thanks for any help! ...
I'm trying to figure out a way to automate the deployment to our QA environment. The problem is that our release is quite big, so needs to be Zipped, FTP'd and then Unzipped on the QA server. I'm not sure how best to unzip remotely. I can think of a few options, but none of them sound right: Use PsExec to execute a remote commandline ...
I have a 100 meg zip file that I need to download when the app first starts. It needs to unzip to the SD card (400 meg). I'd rather not have to have it touch the phone's storage as many phones won't have 400 meg free on the phone's storage. Can this be done (any one have an example?) Thanks, ian ...
Hi Using the Create ZIP File PHP class I have the following line of code $createZip->get_files_from_folder('blog/wp-content/themes/', 'themes/'); Am I right in thinking that this code gets the files and sub directories from 'blog/wp-content/themes/' creates a new folder entitled 'themes', and then puts these files and sub directories...
I have some ideas I would like to experiment with relating to data compression, but am finding it difficult to decipher some parts of how the standard are applied "in real life". I would like to look at some sample compressed files to observe how the the blocks are arranged and the huffman tree(s) are structured. Are there any tools in...
I am attempting to read in a stream and save the read images to a zip file as this is going to be running over multiple days and would generate far too many individual files. I now have an issue where I seem to be unable to save images into a zip file. The worker thread I have built for it is below. I am sure that the image is makin...
Given a gzip file Z, if I decompress it to Z', is there any way I can recompress it to get the exact same gzip file Z back? After a cursory reading of the DEFLATE format, I am guessing no, as any given file may have multiple representations in DEFLATE stream format, and there is no way to determine which one was originally used. Can anyb...
Im in a fix. need to download a zip file from network location and then decompress it on local machine and use the files. The only constraint is i cannot use any third party dll. Please reply fast. its very urgent. ...
Hi I'm trying to develop an online formbuilder. Each user can build their own forms and I want to be able to provide a button that when clicked will download the users html form page along with its css file as a zip file. I know how to zip the files, but my problem is that the main users html form page doesnt exist as seperate file, it...