Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add blob to tar and stream to server with JavaScript

I have a server which only accepts .tar.gz files or .zip files.

Client side (in browser) I have a couple of Blob's in memory which I need to push back to the server.

Is there any way I can archive these Blob's (i.e. adding to zip or tar.gz) file by streaming them directly to the server?

I would like to avoid having the complete tar.gz file in memory before pushing back to the server.

thanks

like image 555
cecemel Avatar asked Jul 02 '15 10:07

cecemel


1 Answers

This is a duplicate question, see here

It links to this article

For streaming tar files, see here.

like image 68
mikeb Avatar answered Oct 21 '22 05:10

mikeb