aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes File handling using Javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "File handling using Javascript" Watch "File handling using Javascript" New topic
Author

File handling using Javascript

Jayanth Mathavan
Greenhorn

Joined: Nov 10, 2005
Posts: 16
Hi all,
Can anyone please tell me how to perform file handling operations like read,write to *.xml file using Javascript? Please help.

Thanks,
Jayanth Mathavan
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42929
    
  68
If you're talking about files on the client side, then there's no way to do this - JavaScript has no access to files (nor any file I/O capabilities).

Files residing on the server can be read (though nor written directly) through the XmlHTTPRequest object.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: File handling using Javascript