Answered: Is there a way to implement File Handling in ExtJS 4.1.2?
Answered: Is there a way to implement File Handling in ExtJS 4.1.2?
Hi All,
I am wondering if there is any mechanism to handle files in ExtJS. I am thinking of read/write/update a text/xml/json file through ExtJS. Please help me on this prespect.
To save file on client side:
for non-IE browser, you can use document.location='data:application/octet-stream;base64,SGVsbG8=
for IE, you can use document.execCommand('save', null, 'name')
Thanks senmao. But I want the file to be present forever. The file, once it was created may be edited and updated but not deleted. It must not be removed at any cost. If I choose to save the file at client side, I could not relay on its presence. Thus I need to take it to the server. But your information is good thus I could use it in some other situation.