Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > ioFTPD beta > Suggestions

Suggestions Got a new idea or addition which would benefit IOFTPD? Post it here!

Reply
 
Thread Tools Rate Thread
Old 04-01-2004, 06:23 PM   #1
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 558
Thumbs up Common [pre] and [post] event extension suggestion

Ok I know there are the [pre] and [post] events but I think it might be handier for coding purposes to have a common [pre] and [post] event that can handle any client command given.
This would make code like below quite handy. Instead of having to call a different program for all other possible events.

if ((command=="RETR") || (command=="STOR") || (command=="APPE")){ do(something)}
else { do(somethingelse) }

Or is it possible to have a
[pre]
STOR != EXEC ..\etc... ?? probably not i guess...
FTPServerTools is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 08:49 PM.