FileManager download issues with files over 8Gig

Version 1.43


The file sending system was using an "unsigned int" cast on the file.st_size variable. Sizes larger than 8 gig were too big for this cast, so the cast was changed to unsigned long long. This really only affected the Content-Length header.. the whole file would have likely been transferred if the header was ignored, but it was a bug none the less.

Interested to try DirectAdmin? Get a 30-day Free Trial!