Virtual FTP Hosting with quota over 4 GB
First of all, I want to thank falko for his great tutorial about virtual FTP hosting.
Now I have a problem configuring accounts with a quota that exceed 4 GB.
The bytes_in_avail field data type is int(10) unsigned (and all other quota fields too). This means that the greatest input value is 4294967295 bytes (4 GB).
How can I solve the problem ?
How can I give an account 10 or 20 GB of free space ?
Thanks for your help.
You can use bigint for the database column instead of int.
I was afraid that BIGINT could be not compatible with ProFTPD but it seems to work fine.
|All times are GMT +2. The time now is 07:41.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.