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 ?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!