Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
60 views

Zipstream file cant be open

I am trying to create zip file using php package zip stream but it seems like its not creating proper zip, after download i cant be able to open it on mac and windows too, when i checked with online ...
gl licensed's user avatar
0 votes
0 answers
25 views

Preserve Order when reading ZipStream

I am exposing rest Service which outputs octect-stream . we are creating zip file using ZipOutputStream and sending it to response. The caller needs a specific file to be read first when reading ...
santosh jk's user avatar
0 votes
0 answers
37 views

Challenges with On-the-Fly ZIP File Downloads: Seeking Solutions for Files Beyond 4GB using python

ZIP File Size Limitation: The issue involves dynamically generating and downloading ZIP files in the browser using the aiozipstream package in Python. However, a limitation is encountered where files ...
Vigneshwaran Raju's user avatar
0 votes
0 answers
80 views

How to stream more than 4GB zip files while generating the zip file in python

I have n number of audio files in s3. If I make a django api request, it should get all the audio files from s3 and generate a zip file and download it as zip file. While generating the zip file, it ...
sheshu N's user avatar
0 votes
0 answers
47 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 = &...
Watermelon's user avatar
0 votes
1 answer
127 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 ...
liotur's user avatar
  • 861
2 votes
1 answer
1k 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 ...
sudosu's user avatar
  • 23
0 votes
1 answer
428 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 ...
ashida khader's user avatar
3 votes
2 answers
613 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-...
Raghu Chahar's user avatar
  • 1,807
1 vote
0 answers
137 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 ...
Subash's user avatar
  • 11
0 votes
0 answers
339 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 ...
Raghu Chahar's user avatar
  • 1,807
1 vote
0 answers
452 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 : ...
Jessie Loke's user avatar
0 votes
0 answers
2k 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 ...
Artem Podoprigora's user avatar
1 vote
1 answer
3k 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 ...
brice's user avatar
  • 1,861
0 votes
1 answer
1k 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) { $...
Zack 's user avatar
  • 127
0 votes
1 answer
245 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 ...
lily's user avatar
  • 21
1 vote
1 answer
4k 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 (...
Forer's user avatar
  • 1,055
3 votes
2 answers
5k 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: ...
funerr's user avatar
  • 8,006
0 votes
1 answer
208 views

AWS php sdk for on the fly writing to s3bucket

I want to write some files(videos) in s3 bucket1 to s3bucket2 as zip on the fly without using any disk space for temporary storage. It should happen with a minimum span of time with less overhead. ...
Rosa Mystica's user avatar
1 vote
1 answer
2k views

PHP core ZipArchive versus ZipStream-PHP

I am checking good solutions for zipping stream content from S3, I came across to ZipStream-PHP API, which has been used by s3-bucket-stream-zip-php API however I guess with the help of core PHP class ...
Sukhjinder Singh's user avatar
1 vote
0 answers
676 views

php openssl encrypt stream on the fly

I have a php script that downloads huge zip file that is compressed on the fly using zipstream ( http://pablotron.org/software/zipstream-php/ ). Is it possible to encrypt it using public key ...
j2879873's user avatar
4 votes
1 answer
1k views

Getting corrupt zips using Python ZipStream in Django

I am a little new to Django so please bear with me. 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 ...
Andrew's user avatar
  • 43
0 votes
2 answers
1k views

Apache read ZIP files instead of downloading

I have problem with my script, when i try to download ZIP files after creating - apache read them instead of downloading !!! I use zipstream.php class (https://github.com/maennchen/ZipStream-PHP) ...
user3818090's user avatar
0 votes
1 answer
3k views

Japanese filename is getting garbled while extracting

I am zipping a .csv file as follows: fileInputStream = new FileInputStream(csvFile); final ZipEntry zipEntry = new ZipEntry(csvFile.getname()); zipOutputStream.putNextEntry(zipEntry); ...
appy's user avatar
  • 3
6 votes
1 answer
2k views

nodejs appending data to the end of a readstream

I would like to read a .txt file, append data to the end and finally send it to a zipstream. Right now what I'm doing is writting a new file and then using the new file for zipstream, but I would like ...
Miquel's user avatar
  • 8,839
4 votes
0 answers
1k views

Adding files into existing zipped archive with NodeJs zip-stream or archiver module

I have this scenario: I have a zip file for users to download but for each download, I want to include a 'readme' file with user specific content ( e.g. with user's name and download time ). I used ...
David Lin's user avatar
  • 13.3k
1 vote
1 answer
1k views

Send the zip content to response before you complete the zip creation

I have successfully, on my "local-build", been able to create a temp-folder and add image files inside of it to be zipped and downloaded by a user. Unfortunately after deploying to my Test-Server, I ...
Tyler Rafferty's user avatar
2 votes
1 answer
10k views

how to zip stream csv file php

I created an .csv export file with code: header('Content-type: text.csv'); header('Content-Disposition: attachment; filename=filename.csv'); ..... $fp = fopen('php://output','w'); foreach ($rowsCsv ...
Phong Tran's user avatar
1 vote
0 answers
525 views

Zipstream - PHP get querystring before output headers

I'm using this to create on-the-fly zipping and delivery of files from an amazon bucket: For example this can be passed to the file: index.php?q=movie1.m4v|movie2.m4v I've used this: http://...
user1929091's user avatar
2 votes
0 answers
873 views

In Node.js, a Stream generated by fs.createFileStream is unreadable after another stream has been read to the end

I'm using node-zipstream to create ZIP files in node.js. I've created a simple wrapper to create the illusion of a syncronous API when adding streams to the ZIP (included in the code below). When ...
Aurelia's user avatar
  • 1,062
1 vote
0 answers
932 views

convert ZipOutputStream into ZipInputStream using PipedStream in java

i want to convert a ZipOutputStream into ZipInputStream using PipedOutputStream and PipedInputStream. I am receiving ZipOutputStream from DataHandler, and i don't want to write it on file and then ...
rykhan's user avatar
  • 309
6 votes
3 answers
10k views

Creating a zip archive from a folder and preserving structure with Node.js

I'm trying to use Node.js to create a zip file from an existing folder, and preserve the structure. I was hoping there would be a simple module to allow this kind of thing: archiver.create("../...
user1257359's user avatar
2 votes
0 answers
2k views

How to create a streamed zip archive in PHP suitable for OS X's Archive Utility?

I'm trying to integrate an on-demand backup system for a relatively small web-application which allows the user to download a zip file of all the files on the server and a database dump. The zip file ...
mensch's user avatar
  • 4,411
8 votes
1 answer
2k views

Cannot convert from one iterator type to another but both are the exact same

I'm attempting to compile the ZipStream library, it is effectivley a C++ wrapper for zlib. Right now I'm at the point where I'm getting two compile errors on these two lines: std::set<...
meds's user avatar
  • 22.7k