Compressing stacks - is it possible?

Dave Cragg dcragg at lacscentre.co.uk
Fri Feb 22 03:42:01 EST 2002


At 9:41 pm -0600 21/2/02, Tereza Snyder wrote:

>Are you saying I can script
>
>set the MyCustomProperty of stack "mystack" to stack "stackToCompress" ?
>
>I just get "source is not a container".
>
>I see that I could write the stack to disk, then read it as a binfile,
>compress it, then write the compressed data out again. To reconstitute it, I
>guess I'd have to read the compressed file as a data, decompress it as a
>data, write it out as data again, then open the file as a stack.

You can skip the last two steps when opening the stack. This should do it:

go stack decompress(url <whatever>)

I do something similar for 500 lesson stacks. It works from CD, file 
server or the internet.

Cheers

Dave Cragg



More information about the metacard mailing list