michaelctorres / clients-oriented-ftp

Automatically exported from code.google.com/p/clients-oriented-ftp
0 stars 0 forks source link

Zero File Size when downloading #197

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
I've tested the new r335 version. Uploaded a 2GB file without any problems 
using Chrome and HTML5 mode on Pluupload. The problem is when I try to download 
the this file, I download the file with a filesize of 0 bytes.

Original issue reported on code.google.com by mishoboss on 7 Feb 2013 at 9:02

GoogleCodeExporter commented 8 years ago
Thanks for your report.
When you go to the edit files page, do you see the real size of the file, or 
does it show 0 there too?

Original comment by i...@subwaydesign.com.ar on 7 Feb 2013 at 8:58

GoogleCodeExporter commented 8 years ago
No, there is the actual size of 2GB. Also the file is there on the filesystem 
with size of 2GB. So, probably just the download part has an issue. Maybe wrong 
path?

Original comment by mishoboss on 8 Feb 2013 at 8:58

GoogleCodeExporter commented 8 years ago
That's weird, the path is exactly the same :/

Original comment by i...@subwaydesign.com.ar on 8 Feb 2013 at 7:17

GoogleCodeExporter commented 8 years ago
Hi, tested it with Firefox and Chrome to see if something HTTP headers isn't 
involved. It's not. I also tested with two different themes - same behavior. I 
attach a screenshot. You can see how ProjectSend sees the file with 2GB size, 
but the browser sees it as 0 bytes.

Original comment by mishoboss on 9 Feb 2013 at 6:54

GoogleCodeExporter commented 8 years ago
Is there any way you could give me access to the ftp for that folder? If you 
can, send the data to info@subwaydesign.com.ar. I'd like to debug that error, I 
wasn't able to reproduce it.

Original comment by i...@subwaydesign.com.ar on 11 Feb 2013 at 4:37

GoogleCodeExporter commented 8 years ago
I am having the same, or similar issue.

I have multiple installations. One is new and one is an upgrade from an older 
cFTP installation.  The new installation downloads a 160mb file as 0 bytes, but 
will download a smaller 26mb file with no issues. The upgraded installation 
works fine with the larger file size.

If this is the same issue, maybe the info that my upgraded install works with 
larger downloads will help with a resolution.

Tested on Centos 6 and RH 5.9.

Original comment by chrisfi...@netscape.net on 15 Feb 2013 at 7:32

GoogleCodeExporter commented 8 years ago
Same problem, I can upload large file no problem but when downloading it 
downloads a 0kb file..Help!

Original comment by DeNovoSa...@gmail.com on 18 Feb 2013 at 9:42

GoogleCodeExporter commented 8 years ago
It seems that PHP has trouble reading file sizes of files over 2gb.
But I have found a solution for this and the next release will include it.
It will be ready by friday. Thanks for your support!!

Original comment by i...@subwaydesign.com.ar on 20 Feb 2013 at 4:22

GoogleCodeExporter commented 8 years ago
I'm recently having this problem, as well. On a brand new installation of r405, 
all uploaded files show "File Size: Byte" (with no numbers), and any download 
of large files results in a zero byte file. Smaller files (2MB or so) download 
just fine. If I FTP directly to the /uploads/files/ folder, all uploaded files 
are there and the correct size is reported by my FTP app.

Original comment by david.ab...@gmail.com on 16 Apr 2013 at 7:28

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Same problem here (r405)

To be sure all my files and folders are chmod 777.

I host my website on a synology nas. I just try on wamp and no problem.

Original comment by j.grest...@gmail.com on 21 Apr 2013 at 10:05

GoogleCodeExporter commented 8 years ago
Similar issue:

Clean installation of ProjectSend r405 accessed on Mac using Safari 6.0.4, 
Firefox 20.0, Chrome 26.0.1410.65 and IE 10.0.9200.16537 on PC running Windows 7

Files uploaded using ProjectSend and FTP listed as 'Byte' - no size indicated. 
Previews not displaying.

Log in as client:
All files listed as 'Byte' - no size indicated. Previews not displaying.
When downloaded through ProjectSend - 0 byte files and won't open. When 
downloaded by FTP they are okay.

Log in as System Administrator, Files > Manage Files - files listed as 'Byte' - 
no size indicated. When the file title is clicked to download, as per Client, 
downloaded as 0 byte files and won't open.

No files are larger than 1MB. Same results as above when uploaded using FTP.

Using FTP changed file permission of 1 file to 755 - no success
Using FTP changed file permission of 1 file to 777 - no success

Original comment by clockwor...@gmail.com on 25 Apr 2013 at 2:31

GoogleCodeExporter commented 8 years ago
In addition to my comments above file sizes, image previews and downloads all 
work correctly when testing ProjectSend installed on MAMP offline.

Original comment by clockwor...@gmail.com on 25 Apr 2013 at 4:13

GoogleCodeExporter commented 8 years ago
Finally I found the solution there, it's seems to work for me:

http://code.google.com/p/clients-oriented-ftp/issues/detail?id=231

Thanks to Alan

Original comment by j.grest...@gmail.com on 25 Apr 2013 at 4:34

GoogleCodeExporter commented 8 years ago
Alan's solution has been applied on r412, please update and let me know if it 
worked for you! Thank you!!

Original comment by i...@subwaydesign.com.ar on 27 Apr 2013 at 6:38

GoogleCodeExporter commented 8 years ago
I confirm that the problem is solved for me.

Original comment by j.grest...@gmail.com on 27 Apr 2013 at 11:15

GoogleCodeExporter commented 8 years ago
I am having similar problems to those detailed here, the file goes well, shows 
the correct size, but when I download it is 0 bits. Do not know what else to 
do, it worked well for a long time and now suddenly this happens, need some 
help, thanks in advance. Excuse the language, I use a translator.

Original comment by repl...@gmail.com on 15 Jul 2014 at 9:07