Catching output of WinSCP /console

Advertisement

theUserWhoLikesScripting
Joined:
Posts:
4
Location:
Allemagne

Catching output of WinSCP /console

Hello,

Calling WinSCP from dos window (.. /console /script=...), I can watch the output in a separate dos box, even the (self-generated) shell output of the remote machine.

How can I fix the output to the calling process , no matter if it is a dos window or, like in my case, a java application that integrates WinSCP. (The reason is: I want to interact with the remote application by reading its output)

Is there an appropriate way by using the option-command ?
(Do you support a list of available options ?)

Yours Axel

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Catching output of WinSCP /console

If you use the console-interface tool (winscp3.com), you can capture WinSCP output to stardard output.

Reply with quote

theUserWhoLikesScripting
Joined:
Posts:
4
Location:
Allemagne

Re: Catching output of WinSCP /console

martin wrote:

If you use the console-interface tool (winscp3.com), you can capture WinSCP output to stardard output.

Hi Martin,

Thanks a lot, it was very easy.
The communication is running.

And what about the option-command ?
A listing of available options would be very nice (As I can only see the examples at the documentation)

Yours Axel

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Catching output of WinSCP /console

theUserWhoLikesScripting wrote:

And what about the option-command ?
What option-command?

A listing of available options would be very nice (As I can only see the examples at the documentation)
See documentation or "winscp3 /?"

Reply with quote

Guest

Re: Catching output of WinSCP /console

theUserWhoLikesScripting wrote:

And what about the option-command ?
What option-command?

the option-command integrated in the script, for example:
option transfer binary

Yours Axel

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
40,476
Location:
Prague, Czechia

Re: Catching output of WinSCP /console

the option-command integrated in the script, for example:
option transfer binary
See "help option".

Reply with quote

Advertisement

You can post new topics in this forum