Topic "winscp beta4 scripting broke?"

Author Message
Guest




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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
Do you use private key for authentication?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License