Login
or
Create an account
Search:
HOME
DOWNLOAD
PURCHASE
SUPPORT
PORTAL
FORUM
CONTACT US
News & Information
Suggestions & Feedback
General Discussions
FlashFXP Forums
>
Community Chatter
>
Programming
Stop subsequent scripts from running
User Name
Remember Me?
Password
Register
Tickets
Search
Today's Posts
Mark Forums Read
Programming
Need help with C/C++/Delphi? Ask here and make us all laugh.
Thread Tools
Rate Thread
02-13-2004, 08:33 AM
#
1
laShan
Member
ioFTPD Foundation User
Join Date: Feb 2004
Posts: 46
Stop subsequent scripts from running
If I have several scripts assigned to, let's say, wipe, how can I make the first one halt the chain of events? I tried different return configurations without any apparent luck.
02-13-2004, 08:36 AM
#
2
Harm
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,462
If the first one returns non-zero, the others aren't called.
02-13-2004, 08:43 AM
#
3
laShan
Member
ioFTPD Foundation User
Join Date: Feb 2004
Posts: 46
That's just the thing, they are. Either I'm doing something really weird, or there's some sort of issue. Shouldn't the following stop the process?
iputs "Command aborted!"
return 1
02-13-2004, 08:56 AM
#
4
Harm
Too much time...
Ultimate Scripter
Join Date: Jul 2003
Posts: 1,462
If you're using itcl, you could try that:
Code:
iputs "Error message" global ioerror; set ioerror 1; return 1
02-13-2004, 08:59 AM
#
5
laShan
Member
ioFTPD Foundation User
Join Date: Feb 2004
Posts: 46
Thanks! That did the trick
Create a free account to browse our forums without ads
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Rate This Thread
Rate This Thread
:
5 : Excellent
4 : Good
3 : Average
2 : Bad
1 : Terrible
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
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Forum Rules
Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Problems with http
ratnic
Bug Reports
4
01-20-2003
09:07 PM
All times are GMT -5. The time now is
12:28 PM
.
-- FlashFXP Default
---- FlashFXP Dynamic Width
-- Mobile
Archive
-
Privacy Statement
-
Top
Copyright © 1999-2012 OpenSight Software, LLC. All Rights Reserved.
Powered by vBulletin® Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Promote FlashFXP on your website and get paid for it!