Network
ftpwho
Display current FTP server session details.
ftpserverconnectionsusersstatus
Additional Notes
ftpwho shows detailed information about currently connected FTP sessions on a ProFTPD server. Unlike ftptop's continuous display, ftpwho prints a single snapshot of active connections and exits.
The output typically includes the process ID, username, remote IP address, connection duration, and current transfer status for each session. It also shows a summary line with the total number of connected users.
Syntax
ftpwho [options]
Parameters
options: Flags that change howftpwhobehaves.target: Optional file, device, interface, user, service, or command target when the command supports one.
Common Options
-h host: Connect to the specified host's status socket.-p port: Use the specified port for the status connection.-S: Group output by virtual server.-C: Group output by connection class.-o: Show output in an alternative format.-?: Display help.
Examples
ftpwho
Show all currently connected FTP sessions.
ftpwho -S
Show connections grouped by virtual server.
ftpwho -h remote-server
Query the FTP status on a remote host.
Practical Notes
ftpwhois specific to ProFTPD and requires themod_statusmodule.- For a continuously updating view, use
ftptopinstead. - The command is useful for quick checks of who is connected and what they are transferring.
- If the output is empty or shows an error, verify that ProFTPD is running and has status reporting enabled.