You are on page 1of 1

option

option batch abort


option confirm off

switches batch and confirm

batch
off|on|abort|continue
Enables batch mode. In batch mode, any choice prompt is automatically replied and
any input prompt is cancelled (after short time interval).
In batch mode, it is recommended to set confirm to off to allow overwrites.
When batch mode is set to on any choice prompt is automatically replied negatively.
Unless the prompt has a different default answer (such as a default Reconnect
answer for a reconnect prompt), in what case the default answer is used (after a
short time interval). See also a reconnecttime option below.
Value abort is like on. In addition, the script is aborted, when any script command
fails or any choice prompt is replied with Abort answer (or similar).
When set to continue any choice prompt is automatically replied with Skip,
Ignore or similar answer.
Enabling batch mode sets reconnect time (reconnecttime option below) to 120
seconds, if it is not set yet.
Commands affected: nearly all

confirm (recommended "off" for allowing overwrites)

off|on
Toggles confirmations (overwrite, etc.).
Commands affected: get, put

option batch abort


option confirm off
open ftp://user:pass@ftp.site.com/
cd /directory/
synchronize local
exit

You might also like