Virtual FTP Hosting with quota over 4 GB

Discussion in 'HOWTO-Related Questions' started by chebarbudo, Jun 9, 2008.

  1. chebarbudo

    chebarbudo New Member

    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.
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

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

    chebarbudo New Member

    Thanks Falko.
    I was afraid that BIGINT could be not compatible with ProFTPD but it seems to work fine.

Share This Page