This project is read-only.

Connection being closed when trying to send large zip file

Jan 26, 2012 at 7:55 AM


I recently started usnig DotNetZip, mainly to implement new feature to project I'm creating: allowing to download multiple files with one download. To achieve this I'm creating zip file from files stored in database. However I've encountered one serious problem which I cannot resolve. Connection is being closed when I try to download larger zip file (zip file that contains many elements).

I've described my problem in more details on stackoverflow: so I will not repeat myself as this would not introduce any new facts. Simply: if I try to download about 40 files (220MB) everything is ok, but if I try to download 43 files (230MB) connection is being closed even before I can send first part of zip file.

Do you have any idea on how to fix this problem or what is causing this? Any advice will be appreciated.