Linked Questions

1 vote
0 answers
134 views

I'm working on an application where the user can click a button to generate a PDF. That button makes an ajax call that returns a url to the file. We then make another call to get the file (because it ...
Ethan Brouwer's user avatar
357 votes
9 answers
1.1m views

I have data that I want to write to a file, and open a file dialog for the user to choose where to save the file. It would be great if it worked in all browsers, but it has to work in Chrome. I want ...
user1756980's user avatar
  • 4,017
110 votes
13 answers
304k views

I have a canvas element with a drawing in it, and I want to create a button that when clicked on, it will save the image as a png file. So it should open up the save, open, close dialog box... I do it ...
sneaky's user avatar
  • 2,231
34 votes
6 answers
46k views

I'd like to convert an animation in HTML5 canvas to a video file that could be uploaded to YouTube. Is there any sort of screen capture API or something that could allow me to do this programatically?
eipark's user avatar
  • 8,400
26 votes
3 answers
91k views

I have a situation where I need to give my users the option to save some data stored locally in their client memory to disk. The current workaround I have is having a handler like this (define-...
Inaimathi's user avatar
  • 14.1k
2 votes
2 answers
3k views

I am using the following code to use a device camera to capture an image, a still photo and show it in the browser. It is working fine but what I would like to do is store the image with a unique ...
user avatar
0 votes
4 answers
4k views

I have created a function to download the file, but the issue is it opens the file on the same tab, I a trying to force download this file in the system. I read other threads but didn't get the answer ...
user avatar
7 votes
2 answers
1k views

I have this flask app route: @app.route('/generatecleanbudgetfile', methods=['GET', 'POST']) def clean_budget(): file = request.files.get('data_file') app.logger.info('Budget Formatting ...
Mike Mann's user avatar
  • 556
0 votes
1 answer
1k views

I have a input type[file] component.After the user browses and selects a file i need to download the selected file by clicking a button. function download(){ ... } <input type='file' id='file1'&...
Nawaz Ahmed's user avatar
0 votes
3 answers
894 views

I have an application, built using React. If I want to send an email to a user after another user successfully completes an action, what are some technologies I need to or can use? To clarify, I have ...
Josh Kardos's user avatar
1 vote
1 answer
482 views

My website is called www.example.com, and I keep my files in a storage bucket called storage.example.com. Each file has a hash-like filename in the bucket (to prevent scrapers), but I would like to ...
Anjum Sayed's user avatar
0 votes
1 answer
331 views

How can trigger a local to local download of an object as a json file using the Blob API? const obj = { prop1: 'val1', prop2: 'val2', prop3: 'val3', prop4: 'val4', } const blob = new Blob([...
suchislife's user avatar
  • 5,024
1 vote
1 answer
380 views

While attempting to download a PDF/Word/RTF file from a website, I observed that the download button, upon inspection, wasn't a direct link. Upon clicking the button, the file started downloading, and ...
Vijay's user avatar
  • 11
0 votes
1 answer
202 views

Hello and thank you for reading. I need to create a local website. With a structure similar to that. folder (index.html [images][answers][content]) The idea is to have the [answer] folder contain ...
Alex Solano's user avatar
0 votes
1 answer
171 views

I'm trying to make small interactive physics demos and mini-games which should work offline - by simply opening the .html file in browser (preferably without any localhost web server) online - hosted ...
Prokop Hapala's user avatar