>I have done some research on it, and found some vary basic approachs to doing LZW style compression and decompression. Have already written a simplified VFP version of it. But problem is really on the decompression side. The table need to be read and decompressed in a Active Server Page. This requires the decompression to occur in either a VBScript or Javascript language. I have completed the decompression code, and descovered that during the reconstruction of the original text, some text does not concatinate correctly. I have been working this for days now, and have not been able to get around this bug in VBscript or Javascript. For some reason the string "<A ", when added to a the of a string, disappears when the next piece (string) is added to the end of the string.
>
>Also, VBscript and Javascript have difficulty parsing a string of binary bytes. Some characters in the string simply are ignored, and next character in line is returned in its place.
>
>I am attempt to compress the database on my web site to conserve space. I only am allowed 100 meg of disk space. The database are growing and I need to shrink them.
In that case, find zlib.dll (and, recommended, the ocx that uses it). It has just two methods that you need to use, .CompressString() and .DecompressString(). It allows you to zip the string before storing it, and unzip when reading. Saved me a lot of space when I last tried it. And it can be used directly from Fox, no need for any wrapper.