321 questions
2
votes
1
answer
78
views
How to save Google Cloud GET Object API mediaLink response to local storage?
I wrote this code that uses Google's Cloud API to get an object from my bucket and download it. It works perfectly when I had my bucket set to public (allUsers added to Principal w/ all the required ...
0
votes
0
answers
433
views
How can I solve dependency errors trying to install FileSaver.js
I try to install FileSaver.js but it's giving me some trouble. I am using the following call:
npm i file-saver
But I don't get a success:
npm error code ERESOLVE
npm error ERESOLVE could not resolve
...
1
vote
1
answer
255
views
FileSaver saveAs function does not download all the files using Promise.allSettled
I have a TypeScript function that tries to download a large number of small documents concurrently. Here's the code:
const bulkDownload = async (analyses: FullAnalysesResponse[]) => {
...
1
vote
1
answer
56
views
How to download data based on current selection only?
I have a simple chart I built with d3.js. There's a dropdown to filter between different views of the data, and want the user to be able to download the associated data based on their selection.
Using ...
0
votes
1
answer
209
views
Can we render and generate multiple .docx files with docxtemplater and output them as one .zip file?
I have had no issue creating multiple functions that geenrate .docx documents using the docxtemplater library.
However, below I have created two instances of "docxtemplater", rendered and ...
0
votes
1
answer
155
views
Get the download status of the plugin file file-saver in React
In React, I use the file-saver plugin to download PDF and it works well for me. But I want to get the state or status of the download process, so that I can change the text on the download button. ...
1
vote
1
answer
3k
views
Minio 403 Forbidden HEAD request using saveas (FileSaver.js)
I try download file using FileSaver.js (saveAs(minio-prefetch-url,'file.pdf')) but request HEAD is send and minio response with 403:
Status Code: 403 Forbidden
Referrer Policy: strict-origin-when-...
0
votes
0
answers
198
views
FileSaver.js - saveAs does not display Save As dialog in Chrome extension
I am working on a Chrome extension that scrapes the menu information of a restaurant on a food delivery platform (e.g. UberEats, FoodPanda) and stores it in an Excel file as well as downloading menu ...
3
votes
2
answers
2k
views
File Download Prompt not Showing in Samsung Internet Browser App on a Samsung Galaxy Phone
Context and Problem Statement
We are currently developing a single-page-application with an API backend. The API provides files to the single-page-application which are generated on-the-fly on request ...
-6
votes
1
answer
312
views
Calling an onclick function in for loop with a table
i am trying to have a button in a table column and when its clicked, i want to invoke a service with values from that row.
can someone please help achieve this.
function setResponseData(data, length)...
0
votes
1
answer
288
views
Download Image of d3 visualization in Svelte?
I'm trying to download an image of a visualization created in d3, in Svelte. I've created a repl to show what I've tried so far. It's just a throwaway chart-- so don't mind how ugly and useless it is, ...
1
vote
1
answer
599
views
React Amazon S3 - Image uploaded to S3 Bucket CORS problem - File Saver
I have a problem with images being uploaded to the S3 bucket. I can upload them on S3 bucket without any problems, but I have a problem getting them from the S3 with signed URL
What works
When I ...
4
votes
0
answers
2k
views
Saving file using url, without opening new tab
In my project I use file-saver to download files.
When the file is in blob format, downloading acts as expected (i.e. starts downloading file, without opening new tab), however if I use URL as a ...
1
vote
0
answers
37
views
How do I store time using the Ebuka Rufus Onuchukwu code for saver app
Does the code below detect external storage on android ?
private static boolean isExternalStorageAvailable() {
String extStorageState = Environment.getExternalStorageState();
...
1
vote
1
answer
1k
views
How to download a URL file into a specific directory in a project in angular?
I am getting file URL in an API response. The URL is downloadable, if I hit it into browser then the file will be download into the system's Download folder.
But I want to download this file into a ...
2
votes
0
answers
115
views
How to Call the Generated file of filesaver.js into the backend code
I used filesaver.js to allow me to download the file successfully.
var out = doc.getZip().generate({
type: "blob",
mimeType: "application/vnd.openxmlformats-officedocument....
1
vote
0
answers
469
views
downloading application/zip file with javascript (with file-saver)
I am trying to download a zipfile that my webapp receives my backend in javascript.
I am using the file-saver library, just because I use it in another part of the app, but I would also be ok, doing ...
2
votes
2
answers
4k
views
Angular 11 - To add files zip using JSZip
I am trying to add several txt files to a zip file and download it locally.
For this, I am using the libraries: JSZip and FileSaver.
This is the "typescript" code, of the download button:
...
3
votes
2
answers
1k
views
angular-file-saver is not installed
Hi All Experts of Angularjs
I am using bower install for my angular project
"file-saver.js": "^1.20150507.2",
"angular-file-saver": "^1.1.3",
I am getting ...
1
vote
0
answers
950
views
download multiple images as zip file using javascript in angular
I need to download a list of images using javascript in angular as a zip file..
so my website is an shopping website..if we click on a product it will open allthe images related to it.This is same as ...
0
votes
1
answer
2k
views
Angular FileSaver.JS change downloaded file name
I am using Angular and FileSaver to save a file but I want to specify a name to the downloaded file
this._UsersService.downloadReport(id).subscribe(data => {
FileSaver.saveAs(data);
});
-1
votes
1
answer
4k
views
Download Word .docx as Blob file from Angular on mobile devices
I am trying to download .docx file from REST API (.NET Core FileContentResult) in Angular application. Everything is working fine on PC, but there is problem with downloading .docx files in VMware ...
0
votes
1
answer
3k
views
Why FileSaver saveAs won't work with a JSZip?
First time posting, this is the whole code (majority of it I found online and tweaked some things to serve my purpose), but more specifically, my error is towards the end where I get.
Uncaught ...
0
votes
1
answer
452
views
How to save pdf file from Firebase in local folder from web
How do I download and save a pdf file from Firebase storage.
During upload I save upload infomation on real time firebase node like this:
while my storage is as follow:
My save btn is linked to this ...
1
vote
1
answer
259
views
Download pixel art drawing as .png in PhaserJS
I need to download the created pixel drawing from this Phaser example as a .png image via FilesSaver.js but the canvas returns null.
Error:
Uncaught TypeError: Cannot read properties of null (reading ...