|
I need to allow users to upload a zip file via a web form. The server is running Linux with an Apache web server. Are there advantages to using a module like Archive::Zip to extract this archive or should I just execute a system call to unzip with backticks...
Started by cowgod on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
To the Archive::Zip documentation you'd be better off using Archive::Extract :
If you are just going to be extracting zips (and/or other archives) you are recommended to look at using Archive::Extract ....
|
|
I'd like to create following functionality for my web-based application:
user uploads an archive file (zip/rar/tar.gz/tar.bz etc) (content - several image files) archive is automatically extracted after upload images are shown in the HTML list (whatever...
Started by gorsky on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If it's not implemented carefully, there can be issues if you blindly extract a well crafted compressed file you extract, it'll take up the whole disk causing denial of service and possibly crashing the system.
|
|
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...
Started by Alex on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Select a location for example Windows XP/2000/Vista and even Wine in Linux) or ANY ZIP COMPATIBLE archive program.
Want to have zipped * right click and select Create an archive (or similar).
|
Ask your Facebook Friends
|
I'm try to make a compressed deploy-able application.
Currently I'm taking a set of files that I've published from my IDE (Visual Studio 2K8 - WPF published application) and compressing them in a 7Zip SFX archive.
My users have asked if they can "one ...
Started by Mike G on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
A self-extracting archive for installers must be created as joining 3 files: SFX_Module, Installer the following command ....
Such a module extracts the archive.
And 7zSD.sfx) allow you to create your own installation program .
|
|
I'm trying to run a command-line process (which is extraction of a .7z archive) on a file that lies in a temporary folder on the windows user temp directory (C:\Documents and Settings\User\Local Settings\Temp), using Process in my c# app.
I think the ...
Started by Hanan on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Path.GetTempFileName() is fine for creating a single file place-holder, but for extracting an archive you.
|
|
I have a bunch of ZIP files that are in desperate need of some hierarchical reorganization and extraction. What I can do, currently, is create the directory structure and move the zip files to the proper location. The mystic cheese that I am missing is...
Started by Craig on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Insert or modify....
For further details see Section 9.2 "Mapping to a ZIP Archive need to extract the files to do it:
using (ZipFile zip = ZipFile.Read("ExistingArchive.zip")) { // 1 = "images/Figure1.jpg"; // 4.
Packaging Conventions standard.
|
|
I'm writing a browser plugin, similiar to Flash and Java in that it starts downloading a file (.jar or .swf) as soon as it gets displayed. Java waits (I believe) until the entire jar files is loaded, but Flash does not. I want the same ability, but with...
Started by Kronikarz on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Check out the boost.
To the good old tar format.
From the archive (as it gets deflated), look e.g.
|
|
In the last section of the code I print what the Reader gives me. But its just bogus, where did I go wrong?
public static void read_impl(File file, String targetFile) { // Create zipfile input stream FileInputStream stream = new FileInputStream(file);...
Started by mizipzor on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Try this instead:
int c; while ((c = reader.read()) != -1) { System.out.print((char)c); }
If that does not work either, then perhaps you got the wrong file, or the file... .
Your use of a char array is a bit pointless, though at first glance it should work .
|
|
I downloaded the latest Nvidia drivers which are in a self extracting executable. Right clicking on the file and going to "Extract To..." context menu brings up the "Extract" dialog box as usual.
In here I click the "Extract to filename\ subfolder" check...
Started by AluminumHaste on
, 12 posts
by 4 people.
Answer Snippets (Read the full thread at powerarchiver):
|
|
Hello everyone,
I'm currently working on an addon-manager for MeAndMyShadow.
Downloading levels works fine, and downloading levelpacks and themes too.
But the problem is that I want the levelpacks and themes to be packed in an archive like a .zip or ....
Started by Edward_Lii on
, 5 posts
by 3 people.
Answer Snippets (Read the full thread at freegamedev):
Note that the name archive doesn't mean it is an archive, it can also we need to define them:
Code: Select all //This will be the archive we want to extract, so we ....
And the for the destination we want to extract to.
|