Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

gelbukh

Re: Cannot redirect WinSCP output

I've sent you email.
martin

Re: Cannot redirect WinSCP output

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

Cannot redirect WinSCP output

"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.