winscp beta4 scripting broke?
Hi,
I've following script, that works perfectly with winscp3, but fails with winscp4 beta. As workaround I just downgraded back to version 3.
Script (winscp.txt):
# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
open myself@foo.bar.ee
cd /var/www/aaa/bbb/ccc
option transfer binary
put ddd.exe
close
exit
command-line:
"C:\Program Files\WinSCP3\WinSCP.com" /console /script="winscp.txt"
output:
batch on
confirm off
Searching for host...
Connecting to host...
Authenticating...
Using username "myself".
Invalid access to memory
Authentication log (see session log for details):
Using username "myself".
Authentication failed.
No session.
transfer binary
No session.
No session.
I've following script, that works perfectly with winscp3, but fails with winscp4 beta. As workaround I just downgraded back to version 3.
Script (winscp.txt):
# Automatically answer all prompts negatively not to stall
# the script on errors
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
open myself@foo.bar.ee
cd /var/www/aaa/bbb/ccc
option transfer binary
put ddd.exe
close
exit
command-line:
"C:\Program Files\WinSCP3\WinSCP.com" /console /script="winscp.txt"
output:
batch on
confirm off
Searching for host...
Connecting to host...
Authenticating...
Using username "myself".
Invalid access to memory
Authentication log (see session log for details):
Using username "myself".
Authentication failed.
No session.
transfer binary
No session.
No session.