Go Back   FlashFXP Forums > > > >

Bug Reports If you discover any bugs that we are not aware of, please post it here so it may be corrected.

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-22-2003, 05:44 PM   #1
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default double [Pre] scripts - only last one is executed...

How to reproduce:

- get 5.3.0 full package

- replace .exe by 5.3.8

- change admin.vfs to something valid

- edit ioFTPD.ini [Pre]:
mkd = TCL ..\scripts\test.itcl 123
mkd = TCL ..\scripts\test.itcl 456
retr = EXEC ..\scripts\test.bat 123

- put test.itcl in ..\scripts:

Code:
iputs "test $args"
return 0
- start ioftpd.exe

- login

[17:34:05] [L] MKD test
[17:34:05] [L] test 456 MKD test
[17:34:05] [L] 257 "test" created.

- change ioftpd.ini [Pre]:
mkd = TCL ..\scripts\test.itcl 123
mkd = TCL ..\scripts\test.itcl 456
;retr = EXEC ..\scripts\test.bat 123

- site config rehash

[17:36:50] [L] MKD test
[17:36:50] [L] test 123 MKD test
[17:36:50] [L] test 456 MKD test
[17:36:50] [L] 257 "test" created.

- edit ioftpd.ini [Pre]:
[Pre]
mkd = TCL ..\scripts\test.itcl 123
mkd = TCL ..\scripts\test.itcl 456
mkd = TCL ..\scripts\test.itcl 789

- site config rehash

[17:46:23] [L] MKD test
[17:46:23] [L] test 456 MKD test
[17:46:23] [L] test 789 MKD test
[17:46:23] [L] 257 "test" created.

- edit ioftpd.ini [Pre]:
[Pre]
mkd = TCL ..\scripts\test.itcl 123
mkd = TCL ..\scripts\test.itcl 456
mkd = TCL ..\scripts\test.itcl 789
mkd = TCL ..\scripts\test.itcl 101112
mkd = TCL ..\scripts\test.itcl 123

- site config rehash

[17:48:19] [L] MKD test
[17:48:19] [L] test 789 MKD test
[17:48:19] [L] test 101112 MKD test
[17:48:19] [L] test 123 MKD test
[17:48:19] [L] 257 "test" created.

and so on and so on...same behavior if test.bat (echo test %1) is used instead of test.itcl
Mouton is offline   Reply With Quote
Old 11-23-2003, 05:08 AM   #2
alturismo
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 265
Default

seems to be also on [scripts] events

as often heard already wipe ioA & newdir doesnt work together

also other events like ioBanana kicknuke & ioA nuke

samples

wipe = EXEC ..\ioA\ioA.exe wipe
wipe = TCL ..\scripts\newdir\OnSiteWipe.itcl

only newdir is executed

wipe = TCL ..\scripts\newdir\OnSiteWipe.itcl
wipe = EXEC ..\ioA\ioA.exe wipe

only ioA is executed


nuke = EXEC ..\ioB\ioBanana.exe kicknuke NUKE
nuke = EXEC ..\ioA\ioA.exe nuke

only ioA nuke is executed

nuke = EXEC ..\ioA\ioA.exe nuke
nuke = EXEC ..\ioB\ioBanana.exe kicknuke NUKE

only ioBanana kick is executed


just some samples
alturismo is offline   Reply With Quote
Old 11-24-2003, 01:40 AM   #3
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

Seems like I had changed comparison to case sensitive while adding unicode support to confing reader
darkone is offline   Reply With Quote
Old 11-24-2003, 11:37 AM   #4
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

so that means fixed in .9 ?
Mouton is offline   Reply With Quote
Reply

Tags
mkd, scriptstest.itcl, tcl, test, [l]

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:55 AM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)