Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Can I Put a file size limit on FTP uploads?

Discussion in 'General Discussion' started by kramxel13, Aug 26, 2009.

  1. kramxel13

    kramxel13 Registered

    Joined:
    Aug 3, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    Please help :)
     
  2. Janak

    Janak Well-Known Member

    Joined:
    Jul 18, 2009
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    58
    Yes, you can put limit. It depends on the filesystem block size limit specified.

    Code:
    ext2/ext3 with 1 KB block size 16448MiB
    ext2/3 with 2 KiB blocksize 256 GiB
    Userlevel upload size limit can be specified from /etc/security/limits.conf file.

    You will find user specific limits in this file. Below is one example:

    Code:
    Janak    hard  fsize  1024000
    Set new parameter here to increase the file size limit for particular user.

    Note: You should have a root access of server to perform above action.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. kramxel13

    kramxel13 Registered

    Joined:
    Aug 3, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    How could I do that for the 200-some accounts on my server?
     
  4. thewebhosting

    thewebhosting Well-Known Member

    Joined:
    May 9, 2008
    Messages:
    1,201
    Likes Received:
    1
    Trophy Points:
    68
    It depends upon the package you have assigned to the users. If the user disk space exceeds the package limit then they cannot upload the files.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. kramxel13

    kramxel13 Registered

    Joined:
    Aug 3, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    durr......
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice