Go Back   FlashFXP Forums > >

Programming Need help with C/C++/Delphi? Ask here and make us all laugh.

Closed Thread
 
Thread Tools Rate Thread Display Modes
Old 06-08-2005, 01:44 PM   #1
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default Re: [iTCL] change default script timeout via function

Quote:
Originally posted by mentality
is there a way to change the amount of time a script can run without printing to console?
Tcl scripts running from within ioFTPD do not have a 'console'. There is no way to change the default script-execution timeout (nor was there ever). In one of the major 5.x beta releases, this timeout was introduced.

However, there are tricks to extend the timeout. External applications can repeatedly write "no-op" commands to stdout and flush the channel (i.e. printf("!buffer off\n"); fflush(stdout); ). Tcl applications can use 'iputs -nobuffer <message>'. Both of these methods must be performed continually or on regular intervals before the timeout value.

I believe darkone mentioned that he would change the script-execution timeouts for the next ioFTPD beta release (don't quote me on this, though).
neoxed is offline  
Closed Thread

Tags
change, console, script, scripts, timeout


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 11:02 PM.

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