31 questions
Score of 0
1 answer
98 views
How to download a very big zip file on the fly using Sanic?
I am working on a Python app which uses Sanic and I need to download a very big archive (10 GB).
I am using zipstream to create the archive on the fly and then stream it (Sanic has support for ...
Score of 0
0 answers
55 views
Java Heap Error for StringBuilder while reading zips
I have a scenario to read zip files from a server URL. But I get a Java heap error when i append the string in the stringbuilder
public static void main(String args[]) {
String url = &...
Score of 0
1 answer
183 views
Create structured archive with files in java
I want to implement GET api that returns ZIP file.
I defined api using openapi
openapi: 3.0.1
info:
title: xxx
description: xxx
version: 2.0.0
tags:
- name: xxxx
servers:
- url: /cc/api/v3
...
Score of 2
1 answer
1462 views
PowerShell reading and writing compressed files with byte arrays
Final Update: Turns out I didn't need Binary writer. I could just copy memory streams from one archive to another.
I'm re-writing a PowerShell script which works with archives. I'm using two ...
Score of 0
1 answer
596 views
Getting corrupt zips using Python3 ZipStream in Django
I'm using zipstream from here and have a Django view that returns a zip file of all file attachments which are all hosted on Amazon S3. But the zip files are all coming up as corrupt when I download ...
Score of 3
2 answers
723 views
Understanding streams in Node js
I am stuck on an issue where I need to create and download a zip of multiple files using NodeJs.
Things I have tried and failed :
https://github.com/archiverjs/node-archiver/issues/364#issuecomment-...
Score of 1
0 answers
165 views
zip file corrupted or has NUL bytes at the beginning correct it and re create the zip in Java
we are receiving a zip file through http post url,some times this zip file is corrupted or while zipping from source contains NUL bytes while it is adding the files to the zip when ever it takes more ...
Score of 0
0 answers
371 views
unexpected behavior using zip-stream NPM on Google k8s
I am working on creating a zip of multiple files on the server and stream it to the client while creating. Initially, I was using ArchiverJs It was working fine if I was appending buffer to it but it ...
Score of 1
0 answers
477 views
How to create download file and refresh the page
I had create a download button, it will zip the files from my folder then it will return the zip file to user. I had no way to refresh my page after return the zip file.
Here was my code like this :
...
Score of 0
0 answers
1920 views
Delphi ZipMaster: how can I create a zip file from stream and hold it as a stream
Experts,
I have the following problem. I try to find a solution to create a zip file as a stream, but the zip file should not be stored physically and should exist only as a stream.
I have tried ...
Score of 1
1 answer
3075 views
Laravel Zipstream add file from stream
I'm trying to get ZipStream working in Laravel 5.4. I want to stream files from s3 to create a ZipStream which is returned to the browser.
Currently my code produces corrupt ZIP files the same size ...
Score of 0
1 answer
1095 views
Zipstream in Laravel 5.4 - Data is corrupted
I am using the method to generate an example zip file.
Unfortunately the output of the zip file does not decompress to the expected input.
public function generateZip(Request $req) {
$...
Score of 0
1 answer
263 views
[ZipStream]using zipstream downloading many urls
I have tried to use ZipStream and I figured that when the urls are small like 5 urls,it works well,but when the urls are bigger, the brower turns around and around and I can't get the zip file.Has ...
Score of 1
1 answer
4391 views
Using ZipStream in Symfony: streamed zip download will not decompress using Archive Utility on Mac OSX
I have a symfony 2.8 application and on the user clicking "download" button, I use the keys of several large (images, video) files on s3 to stream this to the browser as a zip file using ZipStream (...
Score of 3
2 answers
5285 views
How can I stream a zip in a zip stream download?
I want to be able to archive (zip, no compression needed, but that is a plus),
in memory and stream it, the problem is that I want to create an inner zip in
the zip I am streaming, like so:
Files:
...