View Single Post
Old 12-25-2005, 07:55 PM  
Grendel
Senior Member
 
Grendel's Avatar
 
Join Date: Jul 2004
Posts: 187
Default UPDATE: ioSLSIZE v2.0

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:
Code:
...
[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.
...
Code:
########################## 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
Code:
[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
__________________
- FlashFXP v4.0 BETA (v3.7.9 Build 1401) registered
- Windows 7 x64
- McAfee Antivirus Enterprise 8.7i Patch 2 + Antispyware 8.7i
Grendel is offline   Reply With Quote