/upload switch is inteded to supports Windows Explorer "send to" menu only. It is not intended for scripting. You may not switch off the dialog.
Scripting support is on the wishlist already. Meanwhile I recommend you to use PSFTP tool
(freeware command line SFTP client).