Go Back   FlashFXP Forums > > > >

ioFTPD General New releases, comments, questions regarding the latest version of ioFTPD.

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-17-2005, 05:05 PM   #1
tgf2k4
Junior Member
 
Join Date: Sep 2005
Posts: 14
Default executing commands, hav to wait?!

hello,

ive got a problem. i added a new site command:

check = EXEC ..\scripts\check.bat.

the bat is:

Code:
check.exe %1 %2 %3 %4 >> ..\site\check\result.txt
i can execute commands like: site check -hdd -dvd -system and so on. works fine

but i have to wait until commands end. and if i want to scan for viruses remotely it takes very long and so i wont wait until the command ends.

is there a solution to execute a command and quit with client software but the command is executed all the time by the server until it ends?!

some solution would be nice

thank you very much
tgf2k4 is offline   Reply With Quote
Old 09-17-2005, 05:16 PM   #2
Harm
Too much time...
Ultimate Scripter
 
Join Date: Jul 2003
Posts: 1,430
Default

You can try to echo !detach 0. This will detach the application from ioFTPD and make it return 0 (the return value is the parameter to the !detach command). The application continues to run in the background.
Harm is offline   Reply With Quote
Old 09-17-2005, 05:19 PM   #3
tgf2k4
Junior Member
 
Join Date: Sep 2005
Posts: 14
Default

ok and where i have to type it? in the site check command or in the bat?

can you give me an example?

thx
tgf2k4 is offline   Reply With Quote
Old 09-17-2005, 05:25 PM   #4
tgf2k4
Junior Member
 
Join Date: Sep 2005
Posts: 14
Default

ok i got it
it have to be in the bat

thank you very much
tgf2k4 is offline   Reply With Quote
Reply

Tags
check, command, commands, solution, wait


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 07:23 AM.

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