XML Feeds

.

[javascript-dev] Saving files by js

Dominique DAVID domi at cantatio.com
Sat Jun 2 03:13:34 MDT 2007


Hi all

I used to save files from coll contents with a js script on my previous WinXP machine. I don't use the write message to coll because I am saving the coll data as part of existing png images in private png chunks. Basically, a dump of the coll content triggers a js function which writes each coll line to the disk. It worked always fine even with very big contents.

I changed for a macbook pro recently and I found this way does no longer work. I guess the disk operation is performed at a too slow speed to take the coll dump correctly into account.

Using acknowledgement from the js function to output a bang which reads the following line of the coll works pretty well, but is much  much slower.

Could anyone suggest another way of proceeding ? For exemple, copying the coll data into a js array prior writing it to disk would it be a right way ?

Thanks

Domi


More information about the javascript-dev mailing list