Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > ! Other Scripts Support

! Other Scripts Support Support for all other scripts...

Reply
 
Thread Tools Rate Thread
Old 12-13-2003, 04:14 PM   #1
Member
 
Join Date: Jun 2003
Posts: 43
Default exec script in welcome msg and return value

i want the script to return a variable in my logon msg

ive tryed several ways for example this ..:

%[exec(TCL ..\scripts\ioUptime.tcl uptime mins)]

but its not working how is that ..


script

return $varname

or does it need to be puts ??
Ofloo is offline   Reply With Quote
Old 12-14-2003, 01:14 AM   #2
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,234
Default

needs to be puts; if you don't want newline to interrupt output, use iputs -nonewline
darkone is offline   Reply With Quote
Old 12-14-2003, 07:49 PM   #3
Member
 
Join Date: Jun 2003
Posts: 43
Default

sorry doesn't work .. i think its there is an syntax error in the cookie or %[...]

above just not sur what it is ..
Ofloo 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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -5. The time now is 07:38 AM.