Home > FTP related issues > Pure-ftp Commands

Pure-ftp Commands

October 7th, 2009

ou can go througth the following commands which are like boom to check the current ftp activity on the server.

root@svrxx [~]# pure-ftpwho

+——+———+——-+——+——————————————-+
| PID | Login |For/Spd| What | File/IP |
+——+———+——-+——+——————————————-+
|24550 | endles46| 00:17 | IDLE | |
| ” | ” | ” | ” | -> ip24-250-151-121.bc.dl.cox.net |
+——+———+——-+——+——————————————-+
|25256 | twisty46| 00:11 | IDLE | |
| ” | ” | ” | ” | ->66-169-213-134.dhcp.dntn.tx.charter.com |
+——+———+——-+——+——————————————-+

root@svr46 [~]# pure-ftpwho -s
27142|carlwo46|47|IDLE||24-182-59-18.dhcp.nlto.ca.charter.com|svr46.ehostpros.com|21|0|0|0|0
24550|endles46|1133|IDLE||ip24-250-151-121.bc.dl.cox.net|svr46.ehostpros.com|21|0|0|0|0
25256|twisty46|786|IDLE||66-169-213-134.dhcp.dntn.tx.charter.com|svr46.ehostpros.com|21|0|0|0|0

For other commands with pre-ftpwho use the help option for the command

root@svrxx [~]# pure-ftpwho -h

Usage :

-c : this program is called by a web server (CGI mode)
-h : help
-H : don’t resolve host names, only show IP addresses
-n : synonym for -H
-p : output Apple / GNUStep plist data
-s : easily parsable output for shell scripts
format is :
pid|acct|time|state|file|peer|local|port|current|total|%|bandwidth
-v : output verbose ASCII
-w : output HTML page (web mode)
-W : output HTML page without header/footer (embedded mode)
-x : output XML data

For the complete info regarding the pure-ftpd, you can go through the following url:-
http://pureftpd.sourceforge.net/README

FTP related issues

  1. No comments yet.
  1. No trackbacks yet.