Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-06 05:09:46

fxo
New Member
Registered: 2006-01-27
Posts: 3

Truncated Download files - pegged on 257bytes

Textpattern 4.0.3 running on IIS. PHP 5.1.1

The problem is any file uploaded from Files Tab gets uploaded OK into the server with the correct file size, but when downloaded, these files get completed very fast but truncated. All downloaded files end-up with filesize around 255-257 bytes only.

Is there any fix / setting that need to be changed ?

I can download the file without problem when accessing directly into the http://site/tpsite/files/filename.ext .

The truncated is when file is downloaded through PHP such as http://site/tpsite/index.php?s=file_download&id=8

PHP.INI is already set (for correcting upload, don’t know if its anything to do for download):

  • memory_limit = 64MB
  • upload_max_filesize = 200M
  • post_max_size = 800M

Offline

Board footer

Powered by FluxBB