Amit
Amit

Reputation: 7035

convert stream to zip file

I have made a WCF web service that streams a 200 mb zip file. Can some one please advise me on how i can read this stream at my client and then give option to the user to download that

Thanks

Upvotes: 0

Views: 536

Answers (1)

Justin Dearing
Justin Dearing

Reputation: 14928

If your client is an asp.net site, why not just a simple ashx handler? Set the mime type application/x-zip, and set the ResponseStream of the handler to the zip file stream.

Upvotes: 1

Related Questions