Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-01-2004, 07:23 PM   #1
FTPServerTools
Senior Member
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: Sep 2002
Posts: 543
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

Tags
common, event, events, [post], [pre]

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 01:58 AM.

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