Most voted "zip-file" questions
Zip is a file format used for data compression and archiving. For issues related to creating and/or using zip files.
Learn more…73 questions
Sort by count of
-
0
votes1
answer150
viewsString returning empty
I am trying to get me into the . zip file, select a single file called mcmod.info and save for a MemoryStream temporary. I followed as a basis that link on Stackoverflow, but when I read the var ms…
-
0
votes0
answers93
viewsCannot Destroy the zip context
What causes this mistake? I have a code where I create a Zip through the class ZipArchive. I read a certain directory and take all the image files present in it. I add it in the ZIP and, at the end,…
-
0
votes0
answers129
viewsError in Ziparchive::close() call
When I’m using the method close to close the instance of ZipArchive I’m getting the following error: Ziparchive::close(): Read error: Is a directory The code of my application where the close is…
-
0
votes1
answer157
viewsDisplay a wait message while downloading a file
How to display the wait message during file generation and compression for dowload ? I’m doing generation, compassion and Generate more than one PDF in memory and export it in a compressed file…
-
0
votes1
answer57
viewsI cannot create zip in Debian
I can’t create a zip in Debian even with permission 777 folder, and the worst is that it returns no error. Code I use to create zip: function Compress($source_path, $chave) { // Normaliza o caminho…
-
0
votes1
answer372
viewsSHA256 hash generation of compressed.zip files
I would like to generate a hash with SHA256 of a set of files. For this I compressed all in format .zip and I am using the following code(Python): from hashlib import sha256 myFile =…
-
0
votes0
answers275
viewsZipping folder in PHP only with files
I created a routine to create a zip file of a folder in PHP that is working, but within the zip is created the entire existing folder structure on the server and I do not want you to create so, I…
-
0
votes1
answer1534
viewsHow to unzip a folder in PHP?
I have a form where an administrator will fill in the user data, but I need this administrator to enter a folder. zip where will take user photos. I am using a button to select the file . zip , but…
-
0
votes1
answer102
viewsRead/manipulate file name error: Attributeerror: 'list' Object has no attribute 'Seek'
Hello ! I am trying to create a code in which to read a zipped file and extract all the folders inside this zip. The first point is that this downloaded zip file always comes with a random name of…
-
0
votes0
answers9
viewsZip file format
How to turn a file into a zip format for a table or a txt file? How to turn a file into a zip format for a table or a txt file?
-
0
votes0
answers305
viewsCompress files into independent parts ( no need to be tight to unzip)
In my application I can compress a folder and its contents, this content is the result of manipulation of pdf, jpg and xls. But I needed to split it into parts ( the compressed file cannot be larger…
-
0
votes1
answer159
viewstmp_name of files inside a zip folder
I am doing with php code that in which I upload a zip file and it returns me the list of the names of the files that is inside the zip file. But I need it to be returned to the zip folder itself,…
-
0
votes1
answer67
viewsGenerating zip file receiving file input
I have to generate the zip via an upload via file input, get compressed if not compressed and get it ready for download. It is working, the problem is that if the file sent is zip it compresses…
-
0
votes1
answer366
viewsExtract file . zip Password protected
I am doing a VBA macro in excel, to extract . zip files (which would be a barbada to do), except when the file is protected. I searched everything that is corner, there are several tutorials to…
-
0
votes0
answers28
viewsProblem while extracting zip file - Zipfile
Remaking the question in an attempt to make it clearer. A webhook calls my API by sending a POST request. On the request body contains the url of a ZIP file. Using the requests library, I perform a…
-
0
votes0
answers67
viewsDownload compressed folder (.zip) from a URL (FTP) with JAVA
I am trying to download a "zipped" folder through the URL http://portal.insoft4.com.br/site/Download/RepositorioSCR/Teste.zip (FTP) with the following code snippet made in Java: try…
-
0
votes0
answers40
viewsHow to zip files on a Cloud Storage Bucket using Python?
Good morning guys! I need to zip the files present in a particular Cloud Storage Pack. I have tried several alternatives, but so far unsuccessful. Please, could you help me with this question? At…
-
0
votes0
answers14
viewsopen zip archive with Python
Hello, I am trying to open a python zip file whose name does not have a pattern. EX: demanda_prd_499118.zip This number changes all the time, keeping only the written demanda_prd Is there anything…
-
-1
votes1
answer1605
viewsZip files by command line in Windows?
Does anyone know how I zip files by command line on Windows? Note: I don’t want to compress the file itself, I want to send it to a compressed folder. Example: .txt file --> .zip file…
-
-1
votes1
answer151
viewsHow to save a CSV in memory using Python?
Hello! I need to read a big CSV, break it into 1000-line Csvs, store them in memory and then reset a zip with these smaller files. This is the code so far: import pandas as pd from io import…
-
-1
votes2
answers95
viewsRead contents of ZIP file without writing to disk
In the program I am writing I download a ZIP file over the internet and then need to upload the files extracted from ZIP to another place. Turns out I can’t find a way to read the contents of that…
-
-1
votes1
answer25
viewsHow to create a directory structure in memory with Python?
Hello. I have the following scenario: I am reading a dataframe, which has a column with Xmls. I am writing these Xmls to files. xml separately, to later save them in a certain folder structure and…
-
-2
votes1
answer27
viewsHow to generate several Zips dynamically in memory, with Python?
I am reading a Python dataframe, and for each row of it, I need to save the column that contains an XML in a file, in memory, to later zip these files. So far so good. The point is that I need to…