Re: [openupload-devel] downloaded files are corrupted
Status: Beta
Brought to you by:
tsdogs
|
From: Alessandro B. <ts...@br...> - 2013-01-16 20:18:17
|
Il 2013-01-15 23:32 Leonel Ibarra ha scritto: > Thanks for your response Alessandro. > > I have checked my Openupload server's Logs. I find no error nor > warning there. When I upload a file "uploadconfirm" shows up in the > logs, when I download a file "serveFile" shows up, both display > "ALLOW" also. > > I tried uloading different kinds of files like TXT, PDF, JPG, PNG, > DOCX and XLS. I had no problem with PDFs nor TXTs, but had the same > "corrupted file" message when opening them with word, excel or a > picture viewer (the default program assigned to the file) > > I am able to open all of the files with "vi" (text editor) of course, > and found some inconsistencies between files. This is what I found: > > When I upload a file to my openupload server, the file in the server > and the file at the local computer are exactly the same number of > characters and lines (according to vi). > > When I download the file from openupload server, the downloaded file > is different from the original one in the number of lines but with > the > same number of characters (according to vi). This happens with all of > the files: PDF, XLSX, DOCX, TXT, etc. Maybe with a pdf file there's > no > problem, but word and excel seem to have a problem with that. > > Everytime I download the same file from my openupload server and open > it with vi, the number of characters and lines are consistent, but > they are different from the one on my server. I don't know if this is > the cause to my problem or if discrepancies in the number of lines > are > acceptable as long as the number of characters remain the same. > > I use MSOffice 2007, windows 7, my server is a windows server 2003. I > am using apache with mysql and php. > > Thanks for your help > > > > I have absolutely no idea on why it should change the content of the files. Have you tried using different browsers? What about antivirus software? insthead of vi, please use the diff utility to check if the file is the same. have you modified any part of OpenUpload? It seems it's sending some extra character but would not know where. could you try uploading a small txt file and then downloading it and attach both of them in an e-mail so I can analize them? Alessandro |