secureloadsSecure Downloads Area Software

Forum

You are not logged in.

#1 2008-06-30 17:31:45

azander
New member
From: Internet
Registered: 2008-06-30
Posts: 5
Website

Problem with large zip files

Greetings,
  I am new to secureloads but not to php.  I am having an issue with large files and the Zip and Download action.  If the file is less than ~10MB it works fine, but if the file is over ~10MB the resulting zip file is 'bad/damaged'.

  Any suggestions on where to look for this issue and/or how to fix it?

I have already tried increasing teh timeout and memory limits, they do not seem to help.

Az.

Offline

 

#2 2008-06-30 21:05:46

azander
New member
From: Internet
Registered: 2008-06-30
Posts: 5
Website

Re: Problem with large zip files

New information:
  Seem that it is not only the zi + download but all large downlods (even without zip) that are not completing. 
  I have a 53MB download that finishes at 52.8 instead of 53MB, even without compression.

Offline

 

#3 2008-07-03 05:48:22

algis
Administrator
Registered: 2006-01-09
Posts: 718
Website

Re: Problem with large zip files

hello,
I'm afraid that this problem may also depend on the network conditions and the server's load.

Offline

 

#4 2008-07-03 16:03:35

azander
New member
From: Internet
Registered: 2008-06-30
Posts: 5
Website

Re: Problem with large zip files

Greetings,
   Server load is minimal, and I am on the name network as the server itself.  Only the network switch is between us.  We have eliminated the server being the issue.  I can download 200+mb files directly from the web server, but not through this program.

Server ---- hub/switch ---- workstation
The LAN is a 100MB low load (per system checks) at the time.  Server load is less than 1.0 with only about 10 TCP/IP connections including 2 SSH sessions by me to monitor the server.

Offline

 

#5 2008-07-04 12:11:30

algis
Administrator
Registered: 2006-01-09
Posts: 718
Website

Re: Problem with large zip files

hmm, I could only suggest to again increase the PHP timeout and memory allocation once more

Offline

 

#6 2008-07-09 18:46:03

azander
New member
From: Internet
Registered: 2008-06-30
Posts: 5
Website

Re: Problem with large zip files

Doubling the timeouts and file sizes still doesn't affect the file transfer issues.

I've put aside the zip issue, and found that ANY large file is getting truncated during the download process.  Including NON-Zipped files.

Approx 53 MB file is getting cut by nearly 12k during download causing the file to be corrupt, which could be the same issue as teh ziped file, but reporting differently since it has to unzip the file upon arrival.

55729433 byte Test.exe  (self extracting zip file) 

arrives on my machine as:

55718973 byte Test.exe

Any ideas?

Offline

 

#7 2008-07-12 13:01:19

algis
Administrator
Registered: 2006-01-09
Posts: 718
Website

Re: Problem with large zip files

hello,
could you please give me a temporary FTP access? Also, what version are you using?

Offline

 

#8 2008-07-14 16:23:32

azander
New member
From: Internet
Registered: 2008-06-30
Posts: 5
Website

Re: Problem with large zip files

Sent to you via forum email link for our test site.

Offline

 

#9 2008-08-02 08:22:42

amanuensis
Member
Registered: 2007-02-01
Posts: 81

Re: Problem with large zip files

Was this ever resolved?

Offline

 

#10 2008-08-04 05:30:03

algis
Administrator
Registered: 2006-01-09
Posts: 718
Website

Re: Problem with large zip files

Hello,
this has been a problem pushing the file size to the browser. If you are experiencing a similar problem, please update this file:

core/hclib/hcLibrary.php


Attachments:
Attachment Icon hcLibrary.php, Size: 18,927 bytes, Downloads: 16

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson