Unzip Archive with Groovy
Hi, is there a built-in support in Groovy to handle Zip files (the groovy way)? Or do i have to use java.util.zip.ZipFile to process Zip files in Groovy ? ...
Hi, is there a built-in support in Groovy to handle Zip files (the groovy way)? Or do i have to use java.util.zip.ZipFile to process Zip files in Groovy ? ...
I am searching for a way to encrypt a .txt file into a zip, but in a secure password protected way. My goal is to email this file to me, without anyone being able to read the content of the attachment. Does anybody know an easy, and above all, secure way to accomplish this ? I can create zip archives, but I do not know how to encrypt th...
Need to dynamically package some files into a .zip to create a SCORM package, anyone know how this can be done using code? Is it possible to build the folder structure dynamically inside of the .zip as well? ...
Hi, My project has a few xml templates that were modified and added to a zip file. The problem was that the templates were all in a template folder but the expected format of the zip file was to have them straight in the root. project hierarchy: templates/blah.xml expected zip file hierarchy: blah.xml Anyway of achieving that without...
Are there any PHP-scripts out there that can unzip regular zip-files? The requirements we have is that we must run with safe_mode on and we're not allowed to install any extensions to enable this functionality. Thus, any functionality must be regular php scripts. Any thoughts? EDIT: Unfortunately, neither of the posted solution works...
Please tell me why this code fails. I am new and I don't understand why my formatting of my zip arguments is incorrect. Since I am unsure how to communicate best so I will show the code, the error message, and what I believe is happening. #!c:\python30 # Filename: backup_ver5.py import os import time import zipfile source = r'"C:\D...
We have a problem with an IIS5 server. When certain users/browsers click to download .zip files, binary gibberish text sometimes renders in the browser window. The desired behavior is for the file to either download or open with the associated zip application. Initially, we suspected that the wrong content-type header was set on the fi...
Lets say I have a file t.txt, a directory t and another file t/t2.txt. If I use the linux zip utility "zip -r t.zip t.txt t", I get a zip file with the following entries in them (unzip -l t.zip): Archive: t.zip Length Date Time Name -------- ---- ---- ---- 9 04-11-09 09:11 t.txt 0 04-11-...
Please recommend a C++ compression (zip) library for a commercial, closed-source application. So, not a GPL license. This is for my day job... ...
It seems like building a jar or zip from the exact same source files will always yield a different file. I tried this both using the java jar command, and the jar and zip tasks in ant. It appears to be due to the fact that new jars/zips have the timestamp set to the current time on each stored file. Is there a way to force a zip tool ...
im looking to write a daemon that: reads a message from a queue (sqs, rabbit-mq, whatever ...) containing a path to a zip file updates a record in the database saying something like "this job is processing" reads the aforementioned archive's contents and inserts a row into a database w/ information culled from file meta data for each f...
I need to create ZIP archives on demand, using either Python zipfile module or unix command line utilities. Resources to be zipped are often > 1GB and not necessarily compression-friendly. How do I efficiently estimate its creation time / size? ...
Since python2.6, it's now easier to extract data from a password protected zip. But how to create a password protected zipfile in pure python ? ...
I have inherited an old application that stores a zip file in a database and needs to retrieve this file. In Firefox is works fine, I can open the zip and each file inside it is fine. When I run it in IE7 I get the following error. Internet Explorer cannot download ProductContentFormImage.aspx from localhost. Internet Explorer ...
I'm using the java.util.zip library and ZipOutputStream in order to create a zip file of a directory and all the files and directories under it. In my application, it is likely that another thread could be accessing these same files during the compression. I'm not an expert on file compression (or thread-safety, for that matter) so my ...
Due to a number of constraints that I won't get into, I have to create a self-extracting ZIP archive on a linux box. The resulting archive should be executable on Windows only. Is this at all possible? If so, what tools would do the job? Background: when the user downloads a setup package from my linux box, I need that setup package to...
I'm working on a web backup service part of which allows the user to download a zip file containing the files they have selected from a list of what they have backed up. The zipping process is done via a shell_exec command. For this to work I have given the apache user no-password sudo privileges to the zip command. My problem is, sin...
I need to construct and send a zip to a user. I've seen examples doing one or the other, but not both, and am curious if there are any 'best practices' or anything. Sorry for the confusion. I'm going to generating the zip on the fly for the web user, and sending it to them in the HTTP response. Not in an email. Mark ...
I've installed VisualSVN on my Windows 2003 server, and have configured it to provide anonymous read-access. From my understanding VisualSVN just uses apache and the official SVN Repository server underneath. Now, I'd like to extend the SVN web page to provide "download HEAD as ZIP" functionality. Web portals like SourceForge and Codepl...
Hi, I am trying to add a third party zip file to my project while using Blackberry plugin for eclipse. Whenever I build the project,the zip files disappear. Is there any way to compile the project with third party zip files? Please help. ...