Reputation:
I generate html pages which are viewed locally. Is there a way i can use javascript to save files in a user designated folder? (like C:/dev/myapp/here)
I looked at HTML5 File API on MDN and see how to read files when a user selects them. No way to save files. I know how i can cache files by creating image tags but i like to generate a single button which will kick off a script to download a series of files (zip, gif, png, jpg). I dont suppose i can do that with javascript can i?
Upvotes: 0
Views: 648
Reputation: 359776
I dont suppose i can do that with javascript can i?
Nope, you cannot.
Upvotes: 3