Linked Questions
15 questions linked to/from Save to Local File from Blob
1
vote
0
answers
134
views
Download PDF From blob returned by AJAX call [duplicate]
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 ...
357
votes
9
answers
1.1m
views
Create and save a file with JavaScript [duplicate]
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 ...
110
votes
13
answers
304k
views
how to save canvas as png image?
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 ...
34
votes
6
answers
46k
views
Convert HTML5 Canvas Sequence to a Video File
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?
26
votes
3
answers
91k
views
How to generate and prompt to save a file from content in the client browser? [duplicate]
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-...
2
votes
2
answers
3k
views
How to store a webcam or device captured image to a site folder?
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 ...
0
votes
4
answers
4k
views
Download File through JavaScript
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 ...
7
votes
2
answers
1k
views
Flask send_file done with JavaScript [duplicate]
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 ...
0
votes
1
answer
1k
views
Download file which i have selected in html
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'&...
0
votes
3
answers
894
views
Send email from React application
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 ...
1
vote
1
answer
482
views
Is there a way to rename files on download from an <a> href?
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 ...
0
votes
1
answer
331
views
Save an object using blob api. How?
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([...
1
vote
1
answer
380
views
How can we convert a octet format file to its original mime type file?
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 ...
0
votes
1
answer
202
views
Local network with no database. I need to save and load variables to a file. XML, txt
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 ...
0
votes
1
answer
171
views
How to make github-hosted interactive demo app in HTML5+Javascript that works both online and offline
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 ...