Topic "Cannot redirect WinSCP output"

Author Message
gelbukh

Guest


"Console interface for WinSCP has encountered a problem" appears immediately after I type the password when I redirect the output of WinSCP.

System: Win 7 32-bit Spanish.

Version: just downloaded, 5.1.2.

Command:

"c:\Archivos de programa\WinSCP\WinSCP.com" /script=x.txt > x.log

Script x.txt contains:

option echo on
option transfer binary
option reconnecttime 5
open sftp://user@site.org
synchronize remote -delete -mirror -criteria=both c:\data www/data
exit

WinSCP successfully outputs all the usual lines to x.log, including the question "Password:". After I type the password and press Enter, it crashes immediately with no more output.

I have used the same command under Win XP for some years, and it worked (actually I used | mtee /+ x.log, but in my new Win 7 install it does not work either). I don't know how to see the version number I have there on my old Win XP that does work.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
gelbukh
[View user's profile]

Joined: 2013-01-13
Posts: 2
Location: See www.Gelbukh.com for contact information.
I've sent you email.

prikryl wrote:
Can you send me an email, so I can send you back a debug version of WinSCP to track the problem? Please include link back to this topic in your email. Also note in this topic that you have sent the email. Thanks.

You will find my address (if you log in) in my forum profile.
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