I have this standalone desktop application that reads/write into files in the hard disk. Now, i wish to access these files from the browser using javascript since the application runs on the client machine.
I wanted to know if it is possible to access i.e read/write into local files from the browser on the client side.
I've heard that ActiveX makes this possible but i can only use it with IE and not with any other browser.
I wanted to know if there was any other way of doing the same.
you cannot use javascript to write a file (besides of a cookie at clientside) ... and of course you cannot write things at the server with it ... in case you want to write a file on the server or update the database a serverside script has to be involved. you may use a XMLHttpRequest for that ... so js would be involved at the client ... but even with that you have to call a serverside script. javascript is supposed to do things at the client ... and you cannot do things on the server with it ... besides to make a call to a program/script over there.