can we rename/write to local files in HTML5 [duplicate]
Possible Duplicate:
Modifying Local Files Using HTML5 and JavaScript
I know we can read a local file that has been selected by the user, but is ther开发者_高级运维e the ability to rename or write to local files in javascript?
There is no way to natively write the filesystem in Javascript, for obvious security reasons.
However, if you must, there is an ActiveX object (Only in IE). It's Scripting.FileSystemObject
.
You will find the documentation about that beast on the msdn site.
精彩评论