Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Member
    Join Date
    Jul 2007
    Posts
    5

    Unhappy How to Limit file size?

    Hi, how to limit file size for clients?

    For example, my customer him 4 files with extension .WMV, but i need limit this type to MAX 10 mb, is possible?

    Thanks.

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2005
    Location
    New Jersey, USA
    Posts
    397

    Default

    You can set the quota for their account. That will limit the total space for that user.

  3. #3
    Member
    Join Date
    Jul 2007
    Posts
    5

    Wink ok, i need limit in update!

    Ok, but i need a limit for put files over 10 mbs in account

  4. #4
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    Quote Originally Posted by little_oak View Post
    Ok, but i need a limit for put files over 10 mbs in account
    If you have a WHM access then you can edit disk quota for a particular account from WHM -> List accounts -> Click on "quota" tab for the user -> set the new disk limit -> Save.

  5. #5
    Member
    Join Date
    Apr 2009
    Posts
    230

    Default

    I guess you are not talking about the total disk space allotted to an user.
    Instead you want to limit the individual file size.
    If you are uploading the files via some php script then you can alter the variable 'upload_max_filesize' in the 'php.ini' file.
    If something else is being used then it is possible that its configuration can be customized accordingly.

  6. #6
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by little_oak View Post
    Hi, how to limit file size for clients?

    For example, my customer him 4 files with extension .WMV, but i need limit this type to MAX 10 mb, is possible?

    Thanks.

    This functionality is not native to cPanel/WHM at this time. If you do implement such functionality yourself, be sure to account for the various methods files can be uploaded such as Web Disk, FTP, SFTP, File Manager, Legacy File Manager and website scripts designed for uploading files.

Similar Threads & Tags
Similar threads

  1. Can I Put a file size limit on FTP uploads?
    By kramxel13 in forum New User Questions
    Replies: 4
    Last Post: 08-26-2009, 02:50 PM
  2. File Size Limit
    By sbjafri in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-12-2008, 11:22 AM
  3. Mailbox Size Limit versus Account Size Limit
    By lbeachmike in forum E-mail Discussions
    Replies: 4
    Last Post: 07-28-2008, 10:42 AM
  4. Unable to Start SSL - File Size Limit exceeded
    By anm in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-02-2004, 12:50 PM
  5. change file size limit in apache
    By icehosting in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 09-17-2003, 06:14 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube