Example case :
VPS UBuntu 14.04
Without UI Control Panel.
soft limit = 10000 (equal 9,785Mb)
hard limit = 10240 (equal to 10Mb)
johndoe already use 5Mb, so there is 5Mb remaining
Possibility #1 There are so many FTP app. out there, so let’s limit to filezilla app. When he starting to upload a file with size 6.5Mb with his filezilla, he will see warning message in his FTP message log for example “WARNING : Your file size exceed your quota, Quota=10Mb, Used=5Mb” and upload process failed prior to be started Is this possible ?
Possibility #2 Create custom shell script to execute quotacheck daily (cron job) and add custom files into FTP user home directory. e.g: remaining-spacedisk-5mb.quota OR quota.txt So when he starting to connect with FTP app. he will see this file in his home directory and he will able to know his space disk quota. is this possible ?
Possibility #3 Create custom shell script to execute quotacheck daily (cron job) and send space disk quota informations to FTP user via email. is this possible ?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.