The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to increase wgt limit from 2GB to 10GB

Discussion in 'General Discussion' started by Shane_from_UK, Aug 31, 2012.

  1. Shane_from_UK

    Shane_from_UK Active Member

    Joined:
    Sep 14, 2008
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Form last many years, we all are using the cPanel, Apache servers and facing the wget download restriction issue, why we can't download the file more than 2GB via wget command. Like to receive some good suggestion from the cPanel engineers, if they can provide us steps to increase the wget download limit from 2GB to any higher values....

    Awaiting your reply.
     
  2. Eric

    Eric Administrator
    Staff Member

    Joined:
    Nov 25, 2007
    Messages:
    746
    Likes Received:
    11
    Trophy Points:
    18
    Location:
    Texas
    cPanel Access Level:
    Root Administrator
    Howdy,

    The version of wget installed on the system is provided with the OS from the OS vendor. We make no changes to it.

    I just tested on one of my own systems and I was able to make an 11 gig file and wget it.

    Code:
    grimlock public_html # dd if=/dev/zero of=1GBfile bs=1000 count=11000000
    11000000+0 records in
    11000000+0 records out
    11000000000 bytes (11 GB) copied, 113.67 s, 96.8 MB/s
    grimlock public_html # mv 1GBfile 11GBfile
    grimlock public_html # wget techfiles.org/11GBfile
    --2012-08-31 14:32:52--  http://techfiles.org/11GBfile
    Resolving techfiles.org... 208.74.120.26
    Connecting to techfiles.org|208.74.120.26|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 11000000000 (10G) [text/plain]
    Saving to: “11GBfile.1”
    
    100%[====================================================================================================================================================>] 11,000,000,000 76.5M/s   in 4m 16s  
    
    2012-08-31 14:37:08 (40.9 MB/s) - “11GBfile.1” saved [11000000000/11000000000]
    
    grimlock public_html # ls -alh 11GBfile 11GBfile.1 
    -rw-r--r-- 1 root root 11G Aug 31 14:32 11GBfile
    -rw-r--r-- 1 root root 11G Aug 31 14:32 11GBfile.1
    
    Thanks!
     
Loading...

Share This Page