duftp — Disk usage for FTP
Small Perl script similar to the du(1) command, except for an FTP site. Remember FTP?
Download and Install
Download: duftp.pl
It is a Perl script. Do whatever you need to do to run a Perl script on your system.
On *nix, I name it just "duftp", make it executable (chmod a+rx duext) and keep it in my PATH.
On Microsoft Windows, you'll prolly need to name it "duftp.pl" for the system to recognize it as a Perl script.
Manual Page
NAME
duext - analyze and report disk usage on an FTP server
SYNOPSIS
duftp [-h] [-s] [-c] [-v] [-u USER] [-p PASS] <HOST> [DIRECTORY]...USAGE
- Give FTP server hostname as first regular argument
- Give directory(ies) to search as remaining regular arguments
- If username and password not given, assumes anonymous FTP
- Written for *nix but may work on other platforms
OPTIONS
-h reports using human-friendly scale and suffix-s summarize each argument (do not output each subdir)
-c print a grand total of all arguments
-u specifies username for login (defaults to your username)
-p specifies password for login
-v verbose, shows directory names as it scans
CAVEATS
- Hard links will likely confuse things
- Assumes the FTP server provides Unix-style directories
- The directory parser is stupid and fragile
HISTORY
- 2010MAY01: Initial release
LEGAL
- Written by Ben Scott <http://www.dragonhawk.org/>
- Free to use/change/distribute in any way for any purpose
- No warranty of any kind -- use at your own risk
Last modified: $Date: 2022/12/10 02:44:09 $ (YYYY/MM/DD UTC)