1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
|
#####
##### README for wzdFTPd
#####
General remarks:
* This is not a program for beginners
* This is a buggy program
Notes:
* If you want the sfv checker to work, archive files and sfv file
must have same prefix
Installation:
* copy the config file and the executable in the install dir
* copy AT LEAST one backend in the same dir
* edit wzd.cfg
The file is commented, you shouldn't need help - if you need, install serv-u
* run the .exe
* login for the first time FROM LOCALHOST, user/pass: wzdftpd and create users
HOOKS parameters:
* all: first parameter is event id
* all: second parameter is user context
* login: username
* logout: username
* file_preupload: username, filename
* file_postupload: username, filename
* site: command, args
MODULES:
* fct WZD_MODULE_INIT is called at module load
* fct WZD_MODULE_CLOSE is called at module unload
* struct hook_table contains pairs (event_id,hook_fct) to trap events
* fct WZD_MODULE_INIT is called _BEFORE_ registering hook_table
Troubleshooting:
* LOGIN
Q: Sometimes login seems to freeze, and some time later all seems to go normal
A: This is probably to a DNS lookup - it can be very long if you specified many
addresses il config file and in allowed ip/user.
|