Batch Problem
Is there any way of setting "option batch on" & "option confirm off" other than using /script, such as thought the .ini file?
I am running the application as a script but I do not wish to save the password in the script file so I call the following command:
winscp.exe user:pass@www.server.com /console /script=file.txt
It works fine but if I get the key exchange screen i.e. "The servers host key is not found...." the application will stall there waiting for user input, i.e. the script file does not execute the batch on & confirm off commands until a session has fully started.
Any ideas?
Thanks
M
I am running the application as a script but I do not wish to save the password in the script file so I call the following command:
winscp.exe user:pass@www.server.com /console /script=file.txt
It works fine but if I get the key exchange screen i.e. "The servers host key is not found...." the application will stall there waiting for user input, i.e. the script file does not execute the batch on & confirm off commands until a session has fully started.
Any ideas?
Thanks
M