XML Feeds

.

[javascript-dev] Saving files by js

Emmanuel Jourdan c74-mailinglists at e--j.com
Sat Jun 2 03:17:15 MDT 2007


On 2 juin 07, at 11:13, Dominique DAVID wrote:

> 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 ?

I don't see any reason why it shouldn't work. Can you post an example?

ej




More information about the javascript-dev mailing list