File overwrite working when I do not want to to.

File overwrite working when I do not want to to.

I'd like to push a file to a remote directory, however, I would like to not overwrite the file if it exists. According to the documentation, when batch mode is set to ON any choice prompt is automatically replied negatively. When option confirm is ON it should toggle confirmation of an overwrite. Neither seem to work with my script below. When the file exists, it continues to overwrite without error. What am I missing?

Script:

option batch on
option confirm on
open sftp://RPayVendor:****@ftp.****.****.com
put "\\fs1\XXX.DAT" "XXX.OK"
close
exit