Download with 0Kb results

Phoca Download - download manager
Kathman
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Feb 2012, 15:34

Download with 0Kb results

Post by Kathman »

Hi There,

I installed Phoca Download. I managed to get one download working. Its an MSI file to install a windows program. I tried to do the same with a Mac-file. I zipped it, I made a DMG, I used WInzip, I did, to my knowledge, everything but when trying to download that file it always returns a file downloaded with 0kb file size. While it actually should be 38mb!

Any help really appreciated cause its drivng me mad.. :cry:

Thank you Twan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Download with 0Kb results

Post by Jan »

Hi, try to check your server, if there are no limits - for downloads, etc.

Jan
If you find Phoca extensions useful, please support the project
Kathman
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Feb 2012, 15:34

Re: Download with 0Kb results

Post by Kathman »

No there are no limits. And it is still possible to download the first one.

When I upload for example a zip-file with the Phoca-download component. You can download it without a problem. So to my opinion it must be something with Apple-Mac and Phoca? My own created files keep giving this strange error.

Twan
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: Download with 0Kb results

Post by SonRiab »

It is possible that wrong file permissions on the server could cause this issue so please check this.

[edit] Maybe you can run this test.php file with the right filename (incl. path) on your server? What is the result?
viewtopic.php?t=17104&p=68377#p68377
[/edit]
Kathman
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Feb 2012, 15:34

Re: Download with 0Kb results

Post by Kathman »

I will try that 2morow but then why is it possible that the other file with almost the same size doesnt cause any problem. The problem file is created on a Mac while the oké file is made on à Windows machine.

Thanks, Twan
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: Download with 0Kb results

Post by SonRiab »

I have no idea! My zip files created on my MacBook and my Windows machine work! (^_^)
Kathman
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Feb 2012, 15:34

Re: Download with 0Kb results

Post by Kathman »

Hi SonRiab,

I tried the testfile and it returned as follows:

Error: [2] filesize() [function.filesize]: stat failed for ./phocadownload/Tuyet Trang San Ga - Trinh Tuan Vy.mkv
Ending Script

Does that ring a bell?

thanks, Twan
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: Download with 0Kb results

Post by SonRiab »

SonRiab wrote:Maybe you can run this test.php file with the right filename (incl. path) on your server? What is the result?
;)
Kathman
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 11 Feb 2012, 15:34

Re: Download with 0Kb results

Post by Kathman »

Ahum :-)

This are the result:

Content-Length: 38104766
Content-Range: bytes 0-38104765/38104766

It seems that the content-length is the same as my file size...

Does this info help you to understand my problem?

Thank you
SonRiab
Phoca Professional
Phoca Professional
Posts: 258
Joined: 02 Jun 2011, 09:29
Contact:

Re: Download with 0Kb results

Post by SonRiab »

Now I know that this part of Phoca Download isn't causing this problem! ;) You use Phoca Download 2.x right? Maybe you could provide a link to the Mac-created file so I can test it on my site!?
Post Reply