Questions tagged as 'arquivo-zip'

2
answers

How to compress a folder with everything inside using zipfile in python?

I'm trying to compress a file and a folder that has multiple files inside it into a single .zip file using Python. The script is as follows: from zipfile import ZipFile,ZIP_DEFLATED def zipar(lista): with ZipFile('teste.zip','w',ZIP_DEFLA...
asked by 26.01.2017 / 21:59
1
answer

Zip folder except for a subdirectory

To a folder in Linux use the command below. zip -r arquivoZipado.zip pastaSerZipada/ How can I zip , except a subdirectory of folderSerZipada ?     
asked by 08.06.2018 / 13:53
1
answer

how to reduce zip size created with php

How can I reduce the size of a ZIP file created with PHP . I'm able to zip it but its size remains the same as I can decrease the size of it. for example I want to zip a 2MB file and when I zip I want ZIP to be less th...
asked by 06.06.2017 / 19:26
2
answers

how to extract zip files in C # to a folder where the system is installed

How to extract zip files in c # to a folder where is the system installed? using System; using System.IO.Compression; using System.Windows; using System.Xml; namespace TestXml { /// <summary> /// Interaction logic for MainWind...
asked by 27.03.2014 / 14:04
1
answer

Problem with zipfile logic with Python

I'm trying to make a script with python to zip xls files. I've been able to get it into the directory and it's adding everything inside a .zip file. But I wanted it to go through all the subdirectories and only bring the .xls files and no...
asked by 20.05.2018 / 16:17
1
answer

Extract .zip with status

How to extract .zip files in a way that I can see the status of the items being extracted. Ex: static string GetStatus() { return "Extraindo... " + current_arquivo; } Using the Ionic.Zip OpenSource system Ionic.Zip in the codeplex     
asked by 14.07.2015 / 13:58
1
answer

Zip more than 1 file

How can I zip more than one file? I'm only getting one. This is my code: public static void compactarParaZip(String arqSaida, String arqEntrada) throws IOException { int cont; byte[] dados = new byte[TAMANHO_BUFFER]; Buffe...
asked by 27.04.2015 / 18:22
1
answer

How to create a ZIP file in the Shell? [closed]

How do I create a ZIP file in the Shell with today's date files? The files are all in the same directory.     
asked by 18.06.2018 / 22:35
1
answer

Compact a file saved in Bank

Good afternoon! I have a file that is saved in a database, and I need to zip that file, if I download it. How do I do it? Thank you very much for the support     
asked by 05.06.2018 / 21:13
0
answers

PHP & ZipArchive () - Failed to load PDF document

Good afternoon, I have a form that in a given input opens a window or multiple windows to display a specific PDF (or PDF's). The folder where the path is, there may be only one PDF or a ZIP file with the multiple PDF's within, according to the v...
asked by 27.03.2018 / 22:47