Home Forums .NET libraries Xceed Zip & Real-Time Zip for .NET Can I use Xceed Zip for .NET to decompress data compressed with the ActiveX Zip Compression library?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #20066 |

    Hello Xceed,

     

    If I compress an xml file in the browser using the ActiveX Zip Compression 6.1 library, and post the data to the server (for example, using XmlHttp or some other method), can I decompress that same data using the Xceed Zip for .NET library (for example, in an HttpHandler or ASP.NET page)?

     

    Simply put can I compress using the ActiveX and decompress that compressed data using the .NET classes?

     

    If the answer is YES, can you provide some pointers for getting this to work? For example, what decompression method or class should I use in .NET?

     

    If anybody has ever successfully used this approach, I would be very interested to hear about your experience.

     

    Thanks.

     

    Ray.

    Imported from legacy forums. Posted by Ray (had 1827 views)

    User (Old forums)
    Member
    Post count: 23064

    *sigh*

    I figured something out using this buried post shortly after posting my original question:

    http://xceed.com/CS/forums/thread/12154.aspx

    This works for me:

    var bytes = context.Request.BinaryRead(context.Request.TotalBytes);

    var moreBytes = XceedCompressedStreamEx.Decompress(bytes);

    Thanks.

    Ray.

    Imported from legacy forums. Posted by Ray (had 1362 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.