Re: [openupload-devel] download are incomplete
Status: Beta
Brought to you by:
tsdogs
|
From: Hester, A. <And...@eu...> - 2009-05-07 15:19:36
|
I uploaded and then downloaded a .jpg file after deleting all files. The file was still only 261 bytes (download - the size in the db shows correctly). I opened the .jpg with a text editor and found this: <br /> <b>Warning</b>: readfile(/usr/local/transfer/data/wn1AmL8STJ) [<a href='function.readfile'>function.readfile</a>]: failed to open stream: No such file or directory in <b>/usr/local/transfer/lib/modules/default/files.inc.php</b> on line <b>408</b><br /> and it is true that it is not in the data directory. I do have some file id data/tmp but they are not the size if the .jpg file. www-data has write access to the data directory: drwxr-xr-x 3 www-data www-data 4096 2009-05-07 10:05 data off to check logs... -Andy -----Original Message----- From: Hester, Andy [mailto:And...@eu...] Sent: Thu 5/7/2009 9:49 AM To: ope...@li... Subject: [openupload-devel] download are incomplete I have 2 sites up, both members only. One is for outbound file transfers and one for inbound transfers (temporary). The inbound site seemed to be working fine until I took a day off to go to the Dr. Now I am getting reports that the files are being corrupted. I had a chance to log in this am and confirmed that while the files are uploaded correctly, the same files when downloaded are only 261 bytes. Oddly enough, I looked at the files table and found that there is a record in there that has a size of 261. Of course there are many others of varying sizes. Could it be stuck on a corrupt file? Also, I don't see the same files in the db as in the data directory? should I? While trying to fix this I noticed that there was a mime type plugin rule for un registered users that I hadn't noticed before. I deleted that rule on the idea that it might be causing the download to fail. The only change I've made recently that I can think of is allowing multiple uploads, bu I changed that back and that didn;t resolve the issue either. Thanks for any help. -Andy ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Openupload-devel mailing list Ope...@li... https://lists.sourceforge.net/lists/listinfo/openupload-devel |