How to convert a file into archives while downloading

Posted by Mahesh_Chs under ASP.NET on 3/26/2012 | Points: 10 | Views : 1105 | Status : [Member] | Replies : 4
hi

In my Application I am downloading the images from the database, but i want to convert it into archives before it downloads, after downloaded i will extract into files.

Thank You
Mahesh




Responses

Posted by: Rajni.Shekhar on: 3/27/2012 [Member] Bronze | Points: 25

Up
0
Down
do you mean to zip your image?

Thanks,
Rajni Shekhar

Mahesh_Chs, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Mahesh_Chs on: 3/27/2012 [Member] Starter | Points: 25

Up
0
Down
Hi

Yes i want to zip my images or files

Thank You
Mahesh

Mahesh_Chs, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajni.Shekhar on: 3/27/2012 [Member] Bronze | Points: 25

Up
0
Down
you can use GZipStream to zip your file.
new GZipStream(destFile, CompressionMode.Compress);

Thanks,
Rajni Shekhar

Mahesh_Chs, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 3/28/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi
http://www.codeproject.com/Articles/22902/How-to-downlaod-an-image-file-as-a-Zip-file-using

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Mahesh_Chs, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response