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 02-02-2004, 08:37 PM   #1
Mouton
Posse Member
Ultimate Scripter
ioFTPD Administrator
 
Join Date: Dec 2002
Posts: 1,956
Default !detach doesn't flush buffer...

When using !detach 0 at the end of a script, it seems it doesn't flush the buffer, and everything that was still in buffer is lost...

Any way to force io to flush the buffer ?
Mouton is offline  
Old 02-23-2004, 07:05 PM   #2
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

calling fflush() should do it.
darkone is offline  
Old 02-23-2004, 07:12 PM   #3
darkone
Disabled
FlashFXP Registered User
ioFTPD Administrator
 
darkone's Avatar
 
Join Date: Dec 2001
Posts: 2,230
Default

There seems to be bug in the routine as well.. seems like you currently need to add some delay after flushing. Then call !detach, and flush again.
darkone is offline  
Closed Thread

Tags
buffer, detach, flush, force, lost

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow ftp traffice with Winxp SP2 installed neilwr General Discussion 7 01-14-2005 05:31 PM
multiple event triggers FTPServerTools Suggestions 1 01-15-2003 03:54 AM


All times are GMT -5. The time now is 10:16 AM.

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