Re: [openupload-devel] downloaded files are corrupted
Status: Beta
Brought to you by:
tsdogs
|
From: Leonel I. <Leo...@co...> - 2013-01-15 22:32:10
|
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 -----Original Message----- From: Alessandro Briosi [mailto:ts...@br...] Sent: Tuesday, January 15, 2013 12:13 PM To: OpenUpload Delvel and General talk Subject: Re: [openupload-devel] downloaded files are corrupted Il 2013-01-14 18:30 Leonel Ibarra ha scritto: > Hi: > > I have my openupload server running. I am able to do mostly > everything, but when I try to open a file that was downloaded > following the link included in the notification emails (created by > openupload after a file is uploaded) I get a message telling me that > the file is corrupted or damaged. > > If I open the file directly from the data directory in the server I > get no such error. > > What could be happening? > Have you tried opening the file with a text editor? If the size differs, usually it means that openupload had an error while serving the file. That error probably is in the file itself. Also check the logs. Alessandro ------------------------------------------------------------------------------ Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 _______________________________________________ Openupload-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openupload-devel |