Site Commands for DrFTPD 3
This document describes the in-ftp raw commands available in DrFTPD 3.0.
What commands are available to you is largely dependent on the state of your ftpcommands.conf file.
NOTE: If you edit ftpcommands.conf, you will need to do a site reload from ftp or !reload form irc.
All the commands from 2.0 function in 3.0 These may or may not exist in 2.0, however they aren't list in the 2.0 site command list in wiki
SITE BANALL {time in minutes} {reason}
Bans all users for specified time and displays reason for ban
Displays list of banned users with time remaining and reason if set.
SITE CHOWN [-r] {user[:{group}] {file}
Example: SITE CHOWN -R drftpd:drftpd
will change all files in existing dir and recursively to owner of drftpd in group drftpd
Toggles if you can see stacktraces on command errors
Displays a list of available commands
Kicks all logged in users
Displays the # of inodes in the vfs.
Example output
200- max hits : 50
200- last search engine update: Sep 20, 2010 9:28:57 PM CST
200- inodes : 906003
200- backend : Apache Lucene ([http://lucene.apache.org](https://web.archive.org/web/20170302122242/http://lucene.apache.org/))
200- last backup : Sep 21, 2010 1:29:07 PM CST
200- last optimization : Sep 21, 2010 2:35:51 PM CST
200- cached inodes : 23
200- ram usage : 55.4KB
200- size : 265.2MB
Fixes symlinks in current directory
Recursively walks through and validates the size information of the current working directory
Displays Uptime of Master
Syntax: SITE RELOADPLUGIN class.path.to.plugin
This command unloads then loads a plugin class file. For example, site reloadplugin org.drftpd.plugins.SiteBot would unload then load and execute the SiteBot plugin.
This command is equal to doing an unload then load
Recreate the index of the current VFS
SITE STATUS Usage:
SITE STATUS <os, vm, memory, threads, gc, all>
SITE STATUS OS - Will show Operational System Info
SITE STATUS VM - Will show VM Info.
SITE STATUS MEMORY - Will show Memory Info.
SITE STATUS THREADS - Will show Threads Info.
SITE STATUS GC - Will show Garbage Collector Info.
SITE STATUS CLASSES - Will show Classes Info.
SITE STATUS ALL - shortcut to display ALL Info.
Displays the current server time from Master
Displays version of DRFTPD that is currently running.