Linked Questions

1164 votes
23 answers
711k views

Is there a way to create a text file on the client side and prompt the user to download it without any interaction with the server? I know I can't write directly to their machine (security and all), ...
Joseph Silber's user avatar
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
-1 votes
3 answers
1k views

I've written a simple rich text editor and want the user to be able to save and open generated files to their local file system. The behaviour I want to emulate can be seen on https://excalidraw.com/ ...
Charlie's user avatar
  • 316
1 vote
1 answer
1k views

I will get all the s3 bucket object URL in the Console. How to download that object from client side using Angularjs app.controller('Sample', function($scope) { AWS.config.update({ ...
nawaz uddin's user avatar
0 votes
0 answers
2k views

I want to click on a button to open a window and choose a file. I'm using this code for the choosing: <button onclick="document.getElementById('file-input').click();">Open</button> <...
uRIELk's user avatar
  • 13
0 votes
2 answers
1k views

The problem that I have is, that I want to store data that I got in JavaScript into a JSON file. For example the JSON file at the beginning looks like this: { "ip": "none", "user": "none" } ...
Keimeno's user avatar
  • 2,659
-2 votes
1 answer
264 views

Is there any way to create files in plain JavaScript only? Actually, I am using a static hosting provider (Neocities) and so I want a flat file system at least to store my records. I can only work ...
vardhiro's user avatar
0 votes
1 answer
198 views

Does java script have the functionality to write files to the local machine? Description: i working on a project that would allow java-script to generate some content and then store it as a text ...
Dray Leo's user avatar
0 votes
0 answers
172 views

I need to create a new .txt file with answers written in it. I'm using Javascript. How to do it? I think hard coding will be the best because I'm not allowed to use jQuery , filesaver plugins and etc.....
Kazys Juozas's user avatar
287 votes
18 answers
238k views

If for example you follow the link: data:application/octet-stream;base64,SGVsbG8= The browser will prompt you to download a file consisting of the data held as base64 in the hyperlink itself. Is ...
user avatar
215 votes
11 answers
768k views

I tried to open file with window.open("file:///D:/Hello.txt"); The browser does not allow opening a local file this way, probably for security reasons. I want to use the file's data in the client ...
Joval's user avatar
  • 2,151
35 votes
13 answers
108k views

I know that client-side Javascript cannot write data to the local filesystem, for obvious security reasons. The only way to save data locally with Javascript seems to be with cookies, localStorage, or ...
Basj's user avatar
  • 47.4k
54 votes
5 answers
151k views

I have a difficult question to you, which i'm struggling on for some time now. I'm looking for a solution, where i can save a file to the users computer, without the local storage, because local ...
fsx_steven's user avatar
15 votes
6 answers
30k views

According to caniuse the download attribute of <a> element is supported at Microsoft Edge build 10547+, but not IE or Safari. How to download a file object without using <a> element with ...
guest271314's user avatar
18 votes
3 answers
11k views

How to import/export database from local PouchDB database? I need save my local database and open it in different platform. There is no CouchDB on server side.
pZCZ's user avatar
  • 183

15 30 50 per page
1
2 3 4 5
9