PDA

View Full Version : UPDATE: ioSLSIZE v2.0


Grendel
12-25-2005, 07:55 PM
ioSLSIZE v2.0 by Grendel
(tested on WinXP and Win2003 only)

*** v2.0 is a totally re-worked version ***

It shows size of ioA's Searchlog-file (only if it's in use)
directly after the <SITE SEARCH> command.
Now, you're able to customize the output in ioSLSIZE.ini file.


output example:

...
[L] 200- There are <xxx> matches to your search criteria
[L] 200---------------------------------------------------------------------------[ioA]-
[L] 200- ioA execution time: <yyy> ms
[L] 200-
[L] 200----[ioSLSIZE]-------------------------------------------------------------------
[L] 200-
[L] 200- Size of SEARCH.LOG file is <zzz> MBytes
[L] 200-
[L] 200---------------------------------------------------------------------------------
[L] 200 Command successful.
...


########################## INSTALLATION ################################
## ##
## 1) copy ioSLSIZE.exe and ioSLSIZE.ini ##
## to your ..\scripts\ioA\ and add the line below(*) to ioFTPD.ini ##
## it MUST be set in FRONT of normal SEARCH command (see below) ##
## ##
## (If you delete ioSLSIZE.ini by mistake, ioSLSIZE will create ##
## a new one with default values.) ##
## ##
## 2) configure ioSLSIZE.ini ##
## a) set correct full-path to "ioA.cfg" file ##
## b) set "OutPutText" as you like it ##
## c) set "DisplayFileSizeAs" as you like it ##
## possible values are: ##
## "B" for Bytes ##
## "K" for KBytes ##
## "M" for MBytes ##
## ##
## 3) rehash your config. ##
## ##
## your ready... ##
########################## INSTALLATION ################################

ioFTPD.ini

[FTP_Custom_Commands]

search = EXEC ..\scripts\ioA\ioSLSIZE.exe <<<---Add this(*)
search = EXEC ..\scripts\ioA\ioA.exe SEARCH



see script download-section for download

have fun :)