Hi Everyone,
I'm having a strange issue with my drupal installation that I haven't been able to find documentation on anywhere else. I'm using Drupal on a private server at Dreamhost and haven't had this problem before.
Basically, when I upload a file to Drupal (though a file upload in drupal through the FileField CCK module), the file becomes corrupted. This happens to just about any large file (over a few kb): jpeg, ppt, or even zip files. The file size is not changed at all (the file byte count is exactly the same), but the zip files fail the checksum, and the jpeg images are noticably corrupted (with strange lines through them). The corruption occurs somewhere in the middle of the file (not at the very start or end). I am using private downloads.
Transferring the files via ftp or sftp does not produce this problem. I'm sure the problem is with the upload side in drupal. I've uploaded files through my web browser through the drupal generated file uploader. The files are corrupted. If I replace the file by overwriting it via SFTP, the file is fine.
I've set up drupal before and never had this problem. Probably not my firewall or my home computer as I have other drupal sites and don't have this problem (i.e. my PC isn't to blame nor is my network connection/firewall). It's restriced to just one drupal site.