Corrupt file uploads

Hi there,
I am having an issue with any file that is uploaded to a project becoming corrupted. I have tested it with database storage, file storage, small file uploads (under 1Mb) larger uploads (over 15Mb), and pretty much everything I can think of. The upload appears to function properly, but as soon as you access it, the files are corrupt.

Can anyone offer some advice on a fix?

Thanks.

Hi dwilkinson,

I was wondering if you have access to the server and if you can check if the file (when using file storage) is corrupted or if it's only when you download it.
You can find the files under /upload/. There will be folders with 2 subfolders and one file with no extension in the last folder. If you add the correct extension to the file, you can open it regularly.

It would be interesting to know that to see if the problem happens during the upload or the download of the file.

Tim

Thanks for the reply Tim.

After your suggestion, I checked the folders on the server and did some more testing. On the server side, I see a file with a long string as the file name, and no extension. If I open the file directly from the file system in a player, it works just fine. I guess that it is happening during the download.

Interestingly, if I post a plain text file it seems to work perfectly fine, no matter what size. Could this be an issue with mime types, or something along those lines?

Hi dwilkinson,

what could be interesting would be to have an example of file that causes you problems and also to know on what kind of system and internet browser you have that problem.
I remember that Safari for example had problems with the extension of the files. I'm not saying that's the problem but it could be interesting...

Tim

Basically any file, aside from a plain text file. It doesn't matter if it is an image, movie, document, etc.

For further testing, I set up and installed Active Collab 1.6 on the server, and file uploads and downloads work just fine. I would rather not use it though - I think it is way overpriced, and the interface isn't exactly what I am looking at for my clients.

I have tested in IE7 and Firefox on Vista and XP, and Firefox in OS X and nothing works, so I assume it isn't client based. The server is a WAMP server running Win2k3, php5 and mysql5. I am planning on reappropriating a server here as a linux server soon, but for now I am hoping to get this running on the other server.

Thanks :)