| Inspired by glftpd's post_check script.
Docs shamelessly stolen from glftpd.docs:
The following environment variables can be used by external scripts:
$USER Username.
$TAGLINE User tagline.
$GROUP User group.
$RATIO User ratio.
$SPEED Speed in K/s. This is exported after every upload/download.
$SPEEDBPS Speed in B/s (DrFTPD specific)
$HOST User's ident@ip (Dr specific: ident not included yet)
$SECTION The name of the section user is currently in
The post_check script receives 3 parameters from glftpd:
- $1 - the virtual path name of file uploaded
- $2 - the virtual directory path the file was uploaded to
- $3 - the CRC code of that file (if calc_crc was enabled, or 000000 otherwise)
- $4 - the size of the file (DrFTPD specific)
author: mog version: $Id: Exec.java 936 2005-01-31 22:25:52Z mog $ |