Topic "Catching output of WinSCP /console"

Author Message
theUserWhoLikesScripting
[View user's profile]

Joined: 2006-09-19
Posts: 4
Location: Allemagne
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
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
If you use the console-interface tool (winscp3.com), you can capture WinSCP output to stardard output.
_________________
Martin Prikryl
theUserWhoLikesScripting
[View user's profile]

Joined: 2006-09-19
Posts: 4
Location: Allemagne
prikryl 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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
theUserWhoLikesScripting wrote:
And what about the option-command ?

What option-command?

Quote:
A listing of available options would be very nice (As I can only see the examples at the documentation)

See documentation or "winscp3 /?"
_________________
Martin Prikryl
Guest




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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
Quote:
the option-command integrated in the script, for example:
option transfer binary

See "help option".
_________________
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