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.
![]()
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.
![]()
You can set the quota for their account. That will limit the total space for that user.
Ok, but i need a limit for put files over 10 mbs in account
![]()
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.
InstaCarma
Outsourced Web Hosting Technical Support and Server Management
To visit out Blog , click here
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.