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

martin

Re: Remote command output

max wrote:

Sorry, have now found the logging option. Works great in GUI mode & console mode ..But ..alas doesnt log any output when run in scripting mode

It works even in scripting mode. Please check again.

I have turned logging on for the above session. Unfortunately it doesnt log any output. Am I missing something ..?

Probably you are, but I do not know what :-)

Also .. is there any way of getting the output of the command call in a file

No.
max

Remote command output

Hi ,

Sorry, have now found the logging option. Works great in GUI mode & console mode ..But ..alas doesnt log any output when run in scripting mode
I am invoking winscp using the following command

winscp /console /script=cmd.txt

The file cmd.txt looks like this

option batch on
option confirm off
open user:pass@172.27.192.81
cd /web/webdept/nusss/dev
call ./etudata1 TSSET03 SET NVASHOME GBNUANV5
close
exit

I have turned logging on for the above session. Unfortunately it doesnt log any output. Am I missing something ..?

Also .. is there any way of getting the output of the command call
in a file

i.e output of "call ./etudata1 TSSET03 SET NVASHOME GBNUANV5" in a file



Thanks
Max
max

Logging

Hi,

Is there any method of logging the output of the command to a file. I am able to run a remote command using call, but in some cases I need the output of the command.
Is there a way to log this into a file.. or any other means of logging?

Thanks
Max