3mpty
3mpty

Reputation: 506

Open a local file from local html+js page

Is it possible to show a dialog box to let the user select a file on the local drive and then read its content from a local html page using js?

Is it possible to save a file to a user chosen path?

I'm planning to write a simple script to open file and encode its content inside images (not steganography, just the file's raw bytes).

Thank you very much.

Upvotes: 0

Views: 945

Answers (1)

Pointy
Pointy

Reputation: 413976

It's possible with newer HTML5 APIs supported by some browsers, but it's not universally supported (older IE versions, for example).

Upvotes: 1

Related Questions