I am looking for some direction on how to go about saving multiple files (currently on the client side as a base64 string) as a zip directory in Angular 2.
I am currently getting the files from my webapi as a base64 string. I convert the string to a byte[] for viewing using pdf-viewer. I also allow the user to save/print the pdf using file-saver.
Now, I would like to allow the user to download all selected files into a zip folder. Unfortunately, I don't fully understand blobs and such and therefore, need some assistance on how to approach this. Keep in mind, the object being returned from the webapi contains base64 strings for each file, but can be easily converted into a byte[] and blob.