How to redirect input in cmd
How i can redirect input for following command zip 1.zip file.txt i want the names to be ziped be taken from the file.txt file I tried to do zip 1.zip < file.txt and it didnt worked , i work under windows . thanks ...
How i can redirect input for following command zip 1.zip file.txt i want the names to be ziped be taken from the file.txt file I tried to do zip 1.zip < file.txt and it didnt worked , i work under windows . thanks ...
I have a Linux Python script that needs to unzip some zip files. I was using the zipfile module. On a few of these files I'm getting: BadZipfile: Unsupported compression method 98 for file Searching around it seems these files are using Method 98 PPMD compression. I figured if python couldn't do it, I'd make a hack system call to u...
Downloading .zip file from server after in app purchase, then want to simply unpack it into the original folder hierarchy in-place (not into a new containing folder), and trash the zip if everything checks out. Feedback on how the unpacking is progressing (1/progression) to show the user would be helpful. As would clean error handling ...
I'm trying to write a script that allows an admin of a photo uploading system download all their photos at once. Currently I am using system('zip -r '.$_SERVER['DOCUMENT_ROOT'].'/zip.zip '.$_SERVER['DOCUMENT_ROOT'].'/images/photo-uploads'; to zip the files but this seems to echo names and locations all the files onto the page. Is th...
I'm trying to zip a stream from .Net that can be read from Java code. So as input I have a byte array, which I want to compress and I'm expecting to have a binary array. I've tested with SharpZipLib and DotNetZip to the compressed byte array, but unfortunately I always get an error when trying to uncompress it using the java.util.zip.De...
I have a script that's gonna check a zipfile containing a number of matching PDF+textfiles. I want to unpack or somehow read the textfiles from the zipfile and just pick out some information from the textfile to see that the file version is correct. I was looking at the tempnam function to find an equivalent to make an tempdir, but mayb...
I'm passing a dynamic zip file location to a def from a database. I want to unzip the file to a temp location, extract the xml report file inside, apply an xslt stylesheet, copy it as an rhtml to a view directory for rendering, and delete the temp extracted xml file. The functionality is working fine (the rhtml file is overwritten each t...
Hello I want to make a CAB file on a WinCE 5/6 device. The idea is that someone would run a backup script that creates the CAB file, which can then be loaded back onto the device at any point restoring settings to a previously known point. The settings are xml and custom files in various folders on the device, I am not talking specific...
I have a class which wraps ZipEntrys, but I'm struggling to see how I could then write a method that returns an input stream from any one ZipEntry. I managed to write something that could return an array of input streams for a ZipFile, but I need a way to get an input stream from just one ZipEntry. ...
I'm essentially trying to do the following on a Java/JSP-driven web site: User supplies a password Password is used to build a strongly-encrypted archive file (zip, or anything else) containing a text file as well as a number of binary files that are stored on the server. It's essentially a backup of the user's files and settings. Lat...
I want to use a zip stream wrapper in PHP to create zip file or add files in a zip archive. Here are my example : <?php echo file_get_contents('zip://file.zip#existing_file.txt'); file_put_contents('zip://file.zip#new_file.txt', 'Trying to put some stuff here...'); echo file_get_contents('zip://file.zip#new_file.txt'); This code gets ...
I noticed that Apple started using zip archives to replace document packages (folders appearing as a single file in Finder) in the iWork applications. I'm considering doing the same as I keep getting support emails related to my document packages getting corrupted when copying them to a windows fileserver. My questions is what would be ...
I am looking for Zip/Unzip operation in my .NET application. I can see plenty of third party implementations, But is there one part of .NET framework? Or let me tell you what exactly I am looking for. I may just need to package a folder and need to give a particular extension to it. ...
How to download multiple files as zip in php? ...
Hi all, I've some test resources (that are specific for a particular task) zipped in /test/resources/my.zip. I want to extract the zip content to /target during the maven's Test Phase. Do you know what should I specify in the pom.xml to achieve this? Thanks ...
I'm currently making system call to "unrar and zip" commands. It interrupts and requires me to enter password while encounter password propected archives. Is it possible to let it run and return a "unsuccessful" value to main program on any error or password prompt? Can we natively use rarfile and zipfile library to do the job without ...
I'm developing a BlackBerry application in which I need to unpack a zip file compressed with PKZIP. The package could have one file in it, or it could have 10; it will vary in each case. I know that the BlackBerry API has native support for GZip and Zlib, although I'm pretty sure that these methods aren't going to be helpful in my case...
EDIT: Specifically compression and extraction speeds. Any Suggestions? Thanks ...
Hai guys, I want to make my user select any type of files listed and make them as a zip folder and download it... The files may be .doc,.jpeg,.ppt.... ...
Hi, i have problem of uploading zip file ot server from my windows mobile.. in server the .zip file is getting created,if i open file its telling unable to open and its corrupted here is code HttpWebRequest req = (HttpWebRequest)WebRequest.Create(uploadUrl); req.Method = "PUT"; req.AllowWriteStreamBuffering = true; ...