Questions tagged as 'zip'

1
answer

Download the file on the server when generating zip with zipArchive

I am generating a .zip file in php with zipArchive and I have a problem and even though the file is automatically downloaded to the PC, it is also stored internally in the server. Surely it is silly but I do not give with the key, to see if you...
asked by 31.05.2018 / 14:43
0
answers

Error 500 when I generate zip with php - ziparchive

I'm trying to generate a zip file with php, I've downloaded a demo that works but when I deploy it on my server it returns error 500, what can it be? Here I leave the code. function agregar_zip($dir, $zip) { if (is_dir($dir)) { if ($d...
asked by 29.05.2018 / 18:29
1
answer

Export .zip with multiple files and change name and extensions (ZipArchive)

I am using ZipArchive with PHP to create a .zip file in which to export all the files that users upload to the web. Within this file there are many folders, each folder corresponds to an ID and within each one there can be one or several files (...
asked by 27.03.2018 / 09:22
1
answer

Error unzipping .zip file

I'm trying to unzip a .zip file in my application made in cordova for android but I get the following error: cordova.callbackFromNative('Zip1655561780',false,9,["An error occurred while unzipping."], false); My code is: function onDevic...
asked by 16.01.2018 / 01:01
1
answer

Download a mongo model with NodeJS

I have a Mongo database and I would like, through an API in Node, to be able to download these records in zip, in a CSV or whatever format. Right now I have 501426 records so the find of the model gives me the following error when getting all th...
asked by 15.01.2018 / 16:40
0
answers

Unzip ZIP file in Cordova

I have an application with cordova for android in which I want to unzip a file .ZIP To do this, use the following code but the plugin cordova-plugin-zip of cordova, but when executing, send me an error and the text...
asked by 15.01.2018 / 16:59
1
answer

uncompress a zlib file

I am doing a process of cleaning up old versions of artifacts in GIT (knowing that this can make GIT out of certain bugs). I've seen that GIT compresses those files in zlib. Route for example where they are stored:    xpgit10.ldcb0001./usr...
asked by 08.01.2018 / 12:30
0
answers

Get CSV in ZIP from a site with Basic Auth using Google Apps Script (google sheets)

I'm trying to get a csv that is zipped in a url, which needs basic auth. I can not achieve it, since it throws a syntax error in the argument of the variable 'files'. This is what I tried: function importdatastreamcsv() { var user = 'user';...
asked by 17.11.2017 / 10:45
2
answers

ZIP file by byte [] in PHP

I want to send a zip file to a web service SOAP, to put it in the xml they ask me to transform it into an array of bytes. I have tried several things but, apparently, they do not work. In visual basic it can be like this: Dim B() As Byte = IO....
asked by 13.06.2017 / 01:10
1
answer

How to make the user enter the name of the file that will be used? Java

Good afternoon this program compresses folders in zip, I would like to know how I can do so that the program asks me the name of the folder that is going to be compressed and compresses only the one that the user enters his name and the zip file...
asked by 05.06.2017 / 21:49