Hi,
Randy said:
Even with a File>Save As and executing it locally IE6 throws an
automation error. I didn't look to find it yet, but I will try later.
Try saving the demo zip file at
http://www.galasoft-lb.ch/myjavascript/CExplorer/cexplorer.demo.zip
I tested that on a few different PCs without errors.
The concept is solid, its implementation is what is difficult with the
state of security settings.
The problem isn't JS' lack of ability to save files locally, it is the
lack of privileges that prevents it from being reliable on an internet
website.
That's what I mean with "Many people assume that client-side JavaScript
cannot perform file-system operations on the client computer. Actually,
the objects needed are often found in the browsers, and the rest is only
a matter of compatibility (the way IE saves files is very different from
the way Firefox saves files...) and of permissions."
Maybe I should underline better the "permissions" thing.
Note also "I usually use these methods either in HTA applications
(running locally, granted extended privileges by IE), or in the "file:"
protocol. This is what they have been designed for."
Thanks for your feedback.
Laurent