Server Messages
Messages Defined:
Pre-Login:
- The message is displayed when a user CONNECTS to the server,
but has yet to issue a USER command.
Post-Login:
- The message is displayed when a user has sucessfully logged
into the server, but before the DIR command.
Logout:
- The message is displayed when a user has sucessfully logged out
of the server.
Banned:
- <client dependant / may not always work> This message is
displayed when a user is banned from the server (violating the
hammer rules)
Pre-Download:
- The message is displayed after a RETR command, before it has
finished downloading the file.
Post-Download:
- The message is displayed after a sucessful RETR command (download).
Pre-Upload:
- The message is displayed after a STOR command, before it has
finished uploading the file.
Post-Upload:
- The message is displayed after a sucessful STOR command (upload).
Variables Defined:
$freespace<drive>:
- The amount of free space (in MB) left on the drive specified
$username:
- The name of the user logged in. NOTE: This will always be
anonymous if used in Pre-Login
$uploadcount:
- The number of files you have uploaded to the server (per
session, not cumulative). NOTE: This number will increment the
next time you initiate an upload after a sucessful transfer. So,
if you set this variable in the POST-UPLOAD and upload a file, it
will show how many you have uploaded, except the file that just
completed.
$uploadbytes:
- The amount of bytes you have uploaded to the server (per
session, not cumulative). NOTE: This number will increment the
next time you initiate an upload after a sucessful transfer. So,
if you set this variable in the POST-UPLOAD and upload a file, it
will show how much you have uploaded, except the file that just
completed.
$time:
- The server's time (in military format)
$downloadcount:
- The number of files you have downloaded from the server (per
session, not cumulative). NOTE: This number will increment the
next time you initiate an download after a sucessful transfer.
So, if you set this variable in the POST-DOWNLOAD and download a
file, it will show how many you have downloaded, except the file
that just completed.
$downloadbytes:
- The amount of bytes you have downloaded from the server (per
session, not cumulative). NOTE: This number will increment the
next time you initiate an download after a sucessful transfer.
So, if you set this variable in the POST-DOWNLOAD and download a
file, it will show how much you have downloaded, except the file
that just completed.
$userip:
- The IP address of the user who has connected to the server.
$systemuptime:
- The amount of days, hours, minutes and seconds that the server
has been running without a reboot. NOTE: This is the server, not
the GuildFTPd software.
$guildftpduptime:
- The amount of days, hours, minutes and seconds that GuildFTPd
has been running without a restart.
$timeofday:
- The relative time of day (Morning, Evening, Afternoon, etc.)
$usergroup::
- The name of the group the logged in user is a member of.
$userpass:
- The password supplied by the user.