Community Forums
Connect with us on LinkedIn
Closed Thread
Results 1 to 5 of 5
  1. #1
    Member RavenSoul_'s Avatar
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    95

    Default download limit in apache?

    Hi,

    I have a 4 giga tar.gz in my public_html dir. When I want to download the file, it gives a forbidden error. the permissions are set correct. Another tar.gz on this account is around 300mb, and is downloadable.

    Is there a limit on downloading files in apache?

  2. #2
    Member RavenSoul_'s Avatar
    Join Date
    Nov 2004
    Location
    Belgium
    Posts
    95

    Lightbulb

    OK,

    I splitted the file in chunks of 500mb:

    Source:

    Code:
    dd if=b.tar.gz of=chunk1 bs=1MB count=500; 
    dd if=b.tar.gz of=chunk2 bs=1MB count=500 skip=500; 
    dd if=b.tar.gz of=chunk3 bs=1MB count=500 skip=1000; 
    dd if=b.tar.gz of=chunk4 bs=1MB count=500 skip=1500; 
    dd if=b.tar.gz of=chunk5 bs=1MB count=500 skip=2000; 
    dd if=b.tar.gz of=chunk6 bs=1MB count=500 skip=2500; 
    dd if=b.tar.gz of=chunk7 bs=1MB count=500 skip=3000
    target:

    Code:
    wget http://url.tld/chunk1;
    wget http://url.tld/chunk2;
    wget http://url.tld/chunk3;
    wget http://url.tld/chunk4;
    wget http://url.tld/chunk5;
    wget http://url.tld/chunk6;
    wget http://url.tld/chunk7;
    
    cat chunk1 chunk2 chunk3 chunk4 chunk5 chunk6 chunk7 > b.tar.gz
    Solved.

    Just wanna know: is there a limit?

  3. #3
    Member
    Join Date
    May 2003
    Posts
    36

    Default

    You won't be able to download anything over 2GBs due to limitations.

  4. #4
    Member
    Join Date
    Apr 2011
    Posts
    9

    Default Re: download limit in apache?

    Wow, this was an old post. Things have happened since 1995. Is there any chance that this 2Gb limit will be updated in coming versions of cPanel? As I understand as a cPanel user I can't change this limit my self in "Apache Handlers".

  5. #5
    Member
    Join Date
    Apr 2005
    Posts
    30

    Default Re: download limit in apache?

    Hello,

    Apache 1.3 and 2.0 has this problem of 2GB file size limit. This problem has been fixed in Apache 2.2. So if you use Apache 2.2, this problem should not happen. You can upgrade Apache to 2.2 using Cpanel EasyApache.
    http://www.SubHosting.net :: Fully Managed Hosting | Managed Linux and Windows VPS | Managed dedicated servers, clusters & hardware firewalls | 100% Network Uptime | 24/7 Support

Similar Threads & Tags
Similar threads

  1. Limit Download speed
    By webstyler in forum cPanel and WHM Discussions
    Replies: 21
    Last Post: 05-13-2009, 09:13 AM
  2. Limit Browser Download
    By ManojB in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-22-2008, 04:37 PM
  3. how can i limit download from http link
    By online_kn in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 09-26-2005, 01:38 AM
  4. limit download speed
    By promak in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-27-2005, 02:14 PM
  5. Download Speed Limit?
    By pr-design in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-10-2003, 07:58 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube