Reply
Reading and writting into local files.
Old 10-26-2009, 09:29 AM Reading and writting into local files.
Junior Talker

Posts: 2
Name: Neelima
Trades: 0
Hi everyone!

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.

Thanks
Neelima
Neelineel is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 10-26-2009, 09:32 AM Re: Reading and writting into local files.
chrishirst's Avatar
Super Moderator

Posts: 22,260
Location: Blackpool. UK
Trades: 0
Nope.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
Growing old is mandatory - Growing up is optional
Code Samples | People Counting System | Bits & Bobs
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-26-2009, 01:13 PM Re: Reading and writting into local files.
tripy's Avatar
Do not try this at home!

Posts: 3,176
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Well, yes, via a java applet, and maybe flash, but I'm way out of m league about flash.
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is online now
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 10-27-2009, 04:47 AM Re: Reading and writting into local files.
Junior Talker

Posts: 2
Name: Neelima
Trades: 0
Thanks. I'll try using applets then.
Neelineel is offline
Reply With Quote
View Public Profile
 
Old 11-01-2009, 10:21 AM Re: Reading and writting into local files.
freezea's Avatar
Average Talker

Posts: 27
Trades: 0
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.
__________________
RAQ Report: Web-based Excel-like Java reporting tool.
freezea is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Reading and writting into local files.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.13045 seconds with 13 queries