| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <title>ProFTPD module mod_quotatab_file</title> |
| 5 | </head> |
| 6 | |
| 7 | <body bgcolor=white> |
| 8 | |
| 9 | <hr> |
| 10 | <center> |
| 11 | <h2><b>ProFTPD module <code>mod_quotatab_file</code></b></h2> |
| 12 | </center> |
| 13 | <hr><br> |
| 14 | |
| 15 | This <code>mod_quotatab</code> submodule is contained in the |
| 16 | <code>mod_quotatab_file.c</code>, and is found in the <code>contrib/</code> |
| 17 | area of the ProFTPD source distribution. See the <code>mod_quotatab</code> |
| 18 | <a href="mod_quotatab.html#Installation">installation</a> instructions. |
| 19 | |
| 20 | <p> |
| 21 | This submodule provides the file-specific "driver" for storing quota |
| 22 | table information in files. |
| 23 | |
| 24 | <h2>Author</h2> |
| 25 | <p> |
| 26 | Please contact TJ Saunders <tj <i>at</i> castaglia.org> with any |
| 27 | questions, concerns, or suggestions regarding this module. |
| 28 | |
| 29 | <p> |
| 30 | <hr><h2><a name="FileTables">File Quota Tables</a></h2> |
| 31 | Using file-based quota tables (<em>source-type</em> of "file") the |
| 32 | data will be stored in binary fixed-record format. This module is accompanied |
| 33 | by a tool, <a href="ftpquota.html"><code>ftpquota</code></a>, to help in |
| 34 | creating and managing these file-based tables. |
| 35 | |
| 36 | <p> |
| 37 | The <code>mod_quotatab_file</code> module supports the "file" string |
| 38 | for the <em>source-type</em> parameter of the |
| 39 | <a href="mod_quotatab.html#QuotaLimitTable"><code>QuotaLimitTable</code></a> |
| 40 | and |
| 41 | <a href="mod_quotatab.html#QuotaTallyTable"><code>QuotaTallyTable</code></a> |
| 42 | configuration directives. If the "file" <em>source-type</em> |
| 43 | is used, then the <em>source-info</em> parameter must be the full path to |
| 44 | the file table. |
| 45 | |
| 46 | <p> |
| 47 | <code>mod_quotatab_file</code> treats any number <b>zero or less</b> for a |
| 48 | <b>bytes limit</b> as "unlimited". Similarly, it treats a value of |
| 49 | <b>zero</b> for any of the <b>files limit</b>s as "unlimited". |
| 50 | "Unlimited" values are ignored, in that any limit that is |
| 51 | "unlimited" is not used in any of <code>mod_quotatab</code>'s |
| 52 | calculations. |
| 53 | |
| 54 | <p> |
| 55 | Examples: |
| 56 | <pre> |
| 57 | # Using a file-based limit table |
| 58 | QuotaLimitTable file:/usr/local/proftpd/ftpquota.limittab |
| 59 | |
| 60 | # Using a file-based tally table |
| 61 | QuotaTallyTable file:/usr/local/proftpd/ftpquota.tallytab |
| 62 | </pre> |
| 63 | |
| 64 | <p> |
| 65 | <hr> |
| 66 | <font size=2><b><i> |
| 67 | © Copyright 2000-2013 TJ Saunders<br> |
| 68 | All Rights Reserved<br> |
| 69 | </i></b></font> |
| 70 | <hr> |
| 71 | |
| 72 | </body> |
| 73 | </html> |