Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUnexpected end of file when Downloading ArchivesUnexpected end of file when Downloading Archives
Previous
 
Next
New Post
5/31/2011 9:22 PM
 
Just to add to this thread - whenever you get this problem it's nearly always the fact that the actual file size is different from the file size in the 'Files' table.  This can sometimes by fixed with a 'sync' but not necessarily. 

You can check this by doing a select * from files to find your specific file, and compare the file size with the file on your computer (note, you need an accurate byte size, not '1kb'.  The bytes of the file and the bytes in the Files table must match exactly, because the fileserverhandler in DNN will send the download size with the request, and it gets this from the table, not the actual file.

Sometimes the file details have been cached by DNN, and multiple attempts to sync this will not fix it.

When this has persisently happened to me, I manually update the table with the correct file size and restart the application.  That's my brute-force, fallback method for fixing this problem when it happens.  I don't recommend it as a daily process but if you're stuck it might help.

 
New Post
11/12/2013 7:50 AM
 

I run to his issue in a site running DNN 6.2.4.

I verified compression is off in IIS and that file sizes in Files table match the real ones. Still, the archive downloaded is some bytes smaller than the original and therefore unusable. Same thing happens when I download from the file manager.

Has any new solution appeared during the last 2 years since the latest post? :)

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryUnexpected end of file when Downloading ArchivesUnexpected end of file when Downloading Archives


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out