In an interactive scripting mode, the user is prompted in the same way as in GUI mode. When running commands specified using /script or /command, batch mode is used implicitly and overwrite confirmations are turned off.
The script file must use UTF-8 or UTF-16 (with BOM) encoding. For details see console/scripting command-line parameters.įor automation, commands can be read from a script file specified by /script switch, passed from the command-line using the /command switch, or read from standard input of. Enter the console/scripting mode by using or /console command-line parameter with winscp.exe.