Linked Questions
23 questions linked to/from How to write into a file (in user directory) using JavaScript?
0 votes
0 answers
332 views
Append input text field value to a file and when page refreshed populate the data to a drop down list [duplicate]
I have designed a text field with an Add-Email button. On each click I want the text field value to be appended to a file. A dropdown list is there which will read the data from the file and show it ...
814 votes
31 answers
1.1m views
How to export JavaScript array info to csv (on client side)?
I know there are lot of questions of this nature but I need to do this using JavaScript. I am using Dojo 1.8 and have all the attribute info in array, which looks like this: [["name1", "city_name1", ....
492 votes
33 answers
1.9m views
Download File Using JavaScript/jQuery
I have a very similar requirement specified here. I need to have the user's browser start a download manually when $('a#someID').click(); But I cannot use the window.href method, since it replaces ...
83 votes
5 answers
40k views
How can a Chrome extension save many files to a user-specified directory?
I'm working on a Chrome extension to be used as an internal tool. Its required behavior is: As a page action, enable an address bar icon when looking at certain intranet pages. when the user clicks ...
49 votes
6 answers
47k views
Where does PERSISTENT file system storage store with chrome?
When doing webkitRequestFileSystem in window.PERSISTENT option in Google Chrome, where on my filesystem do files get written? I'd like to drop files there and have Chrome interact with them while I'm ...
7 votes
5 answers
14k views
Read local XML with JS
At the moment, due to the security policy Chromium can not read local files via ajax without --allow-file-access-from-files. But I currently need to create a web application where the database is a ...
9 votes
2 answers
38k views
Set the default save as name for a an <embed> or <iframe> that uses a Blob [duplicate]
I am generating a PDF in the browser using PDFKit (without node) and displaying it an iframe or an embed tag via the src attribute. The generated blob URL is some kind of UUID. So the overall page ...
16 votes
2 answers
8k views
Chrome: Create file input from blob with Javascript?
Well, the files attribute of an input[type=file] is read-only. Therefore I can not write my blob data into this input element. But if I create a new input file element using Javscript, then possible ...
0 votes
1 answer
14k views
How can I create new folder/file with javascript?
I am building an app, and I got to the part where I need to create new folder/file in directory that is in the app. I made forms for those files/folders, and buttons to create them,but I'm not sure ...
2 votes
2 answers
12k views
HTML5 fileWriter.write doesn't write to local file
I am working on the tutorial for HTML5 FileSystem-API. Basically I would like to write a file to my machine. I am using python's simpleHTTPServer to serve the website. Once I load the webpage, the ...
5 votes
2 answers
3k views
Using File System as source of videos for playing offline
I am trying to add offline functionality to my HTML5 video player. I am attempting to write the files into the chrome file system as a blob and then read them from there. I believe that I am running ...
0 votes
1 answer
6k views
Fetching and Storing a 64mb mp4 file in localStorage
I need to download six videos of a size 64mb roughly, store them in localStorage to avoid using data (not wifi) to download it again. The problem is that I executed the following code: var urlVideo = ...
-1 votes
3 answers
2k views
How to search the Local file system of Windows using Javascript?
Operating system : Windows 8. Input-from : A text field from a html page . Input-type: text. Output : the file that was searched. What I want : I want the user to enter some keywords and have ...
2 votes
1 answer
2k views
Processing a POST or GET request without a server
I was going through the following article : https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Client-side_web_APIs/Fetching_data Here , the concept of AJAX is being illustrated however , ...
1 vote
1 answer
1k views
jQuery File Upload Plugin: Is possible to preserve the structure of uploaded folders?
I am trying this plugin (https://github.com/blueimp/jQuery-File-Upload) and interesting in folder upload. I wonder if the plugin is able to preserve the structure of uploaded subfolders (= uploading ...