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

o_o

Re: Catch Console Output of a Script

Thanks Martin,

I never investigated what the .com binary was used for. At the bottom of the "Scripting/Automation" page - the .exe is used – so that's why I used the .exe.

I have asked this question to help me debug some of my other problems (especially with synchronization) so now at least I can see the output.

Thanks again,
O.O.
martin

Re: Catch Console Output of a Script

You can use simple output redirection winscp.com params > output. Note that you need to use .com binary (being console application), not .exe, for this.
o_o

Catch Console Output of a Script

Hi,

Is there somehow to see the output dumped to the console of a script. I am trying to synchronize two directories from Windows to Linux, and I have some problems. However before I say anything about that (which would be the subject of another thread) I would like to know how to get the console output.

I tried the /log=logfile option, but the log file seems to be very verbose for my purpose. Also it does not seem to show me where the synchronization took place.

Thanks a lot.
O.O.