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.

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:
    1
    Please help :)
     
  2. Janak

    Janak Well-Known Member

    Joined:
    Jul 18, 2009
    Messages:
    71
    Likes Received:
    1
    Trophy Points:
    6
    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.
     
  3. kramxel13

    kramxel13 Registered

    Joined:
    Aug 3, 2009
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    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:
    38
    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.
     
  5. kramxel13

    kramxel13 Registered

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

Share This Page