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 09-05-2004, 05:20 PM   #1
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default %execute[%EXEC ... ] broken?

I added the following to my UserInfo file in \text\ftp :

| Last seen: %[execute(%EXEC ..\scripts\ioSeen\ioSeen.exe)(v %[$user])] |

executing it manually yields:

C:\ioFTPD\scripts>ioSeen\ioSeen.exe v a_users_name
on Sun Sep 05, 2004 at 17:04:02

it doesn't like the %[$user] so it outputs this:
[L] 200-| Last seen: )] |

could this be fixed?
mr_F_2 is offline   Reply With Quote
Old 09-05-2004, 11:59 PM   #2
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default

Don't think it's broken. I doubt u can use a cookie inside a super-cookie! Not seen anywhere where such a possibility would have been documented or discussed anyway.

Get the value(s) u want from environment variable(s).
Mouton is offline   Reply With Quote
Old 09-06-2004, 01:11 AM   #3
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

i dont think i can get it from environmental variables, because that'd give me the logged in user's username, or the user issuing the command when it's the user i'm doing the <i>site uinfo</i> on that i want to pass to the application.
mr_F_2 is offline   Reply With Quote
Old 09-06-2004, 01:52 AM   #4
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

You could try to add uinfo = EXEC ..\scripts\ioSeen\ioSeen.exe v to the FTP_Custom_Commands. This way it should be called with the username as its 2nd parameter right before the internal @uinfo is called (or right after, i'm not sure).

If I remember correctly you can't include cookies in super-cookies to avoid infinite loops.
Harm is offline   Reply With Quote
Old 09-06-2004, 01:55 AM   #5
mr_F_2
Senior Member
 
Join Date: Jan 2004
Posts: 203
Default

Quote:
Originally posted by Harm
You could try to add uinfo = EXEC ..\scripts\ioSeen\ioSeen.exe v to the FTP_Custom_Commands. This way it should be called with the username as its 2nd parameter right before the internal @uinfo is called (or right after, i'm not sure).

If I remember correctly you can't include cookies in super-cookies to avoid infinite loops.
I could do that, but there should be able to do what I would like it to do here, it seems like such a drawback (though not a serious one) to not be able to use this the way i'd like to.
mr_F_2 is offline   Reply With Quote
Reply

Tags
170402, 2004, fixed, sep, sun

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:14 PM.

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