79
« on: March 18, 2007, 11:59 AM »
Hi,
today I scripted such a tool. It runs eighter on your Server or from your client. It Exports all files found into a CSV file (so you can order it simply by filesize). You can specify a limit to log only files which are greater than - for example - 500kb. I attach it - feel free to use it. The zip contains:
- a commandline version (the PHP Version compiled to a standalone exe File)
- a PHP5 Version for running on your server
- a PHP5_cli version
Requirements:
- commandline : none
- web-version : PHP5
- cli-version : PHP5, pear Console/Getopt.php
Usage:
- web-version : see index.php
- cli-version : php cli_ftpquota --host="x" --user="x" --pass="x" [options]
- commandline : ftpquota.exe --host="x" --user="x" --pass="x" [options]
Run it without any options for help
Parameters:
-h --host hostname
-u --user username
-p --pass password
-s --silent avoid output to stdout
default = false
-e --exportfile Filename for the exported CSV File. Enter "true"
for default name.
default = false
-l --limit Only show files with a filesize above the limit in
Kilobytes
default = 0 (no Limit)
Please report me any Bugs or feature requests...
bye :-)
//edit: I removed the zip temporary, because my virus scanner gave me an alert...