Vijay
Vijay

Reputation: 221

Can i upload and save an image file in file system ,and retrieve it back with javascript or HTML?

I am creating a webpage, which will be running locally.It will upload a file from local file system and save it in a specific location in that file system.But I do not want to use any language which require any other installation such as DBMS or web host e.g. JavaScript or Ajax which do not require any installation and can be processed by the browser only.

Upvotes: 0

Views: 741

Answers (1)

Samuel O
Samuel O

Reputation: 2258

No. You cannot normally access to filesystem with client-side Javascript.

But! ..

.. you can with Javascript on server
(NodeJs with FS API http://nodejs.org/api/fs.html)

.. and you can, but only in Chrome and only with chrome.fileSystem api. http://developer.chrome.com/apps/fileSystem.html

Manual on HTML5rocks - http://www.html5rocks.com/en/tutorials/file/filesystem/

Upvotes: 1

Related Questions