HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Virtual FTP Hosting with quota over 4 GB (http://www.howtoforge.com/forums/showthread.php?t=24028)

chebarbudo 9th June 2008 20:27

Virtual FTP Hosting with quota over 4 GB
 
Hi all,
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.
Santiago

falko 10th June 2008 15:35

You can use bigint for the database column instead of int.

chebarbudo 11th June 2008 12:06

Thanks Falko.
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.