EXIT        Terminate Robo-FTP

Top  Previous  Next

Syntax:

EXIT

[ /options ]

Arguments:

[ /options ]

 

Options:

/exitcode=nn

Define exit value for Robo-FTP.

 

/forced

Exit even if line is connected.

 

 

This script command ends script processing and terminates Robo-FTP. The action is the same as clicking the Exit button on the Robo-FTP toolbar or pressing the Alt-F4 key.

 

Caution

The EXIT (and STOP) commands should never be used in scripts that are to run continuously such as scripts used when Robo-FTP is running as a Windows service. This usually results in the Robo-FTP service terminating unexpectedly.

 

When scripts are run as the result of the CRON or CALLcommands, it also doubtful that EXIT is a valid command in any such script - to exit a script under such circumstances refer to the RETURN command.

 

The /exitcode=nn option allows you to define the program exit code passed back to the operating system or calling process.

 

The /forced option performs a forced quit that terminates any I/O in progress and disconnects the line prior to exiting.

 

Related Command(s): BREAK, RETURN, STOP