How can I know if my script is working or not?

Advertisement

Inkster jim
Joined:
Posts:
11

How can I know if my script is working or not?

Prikryl,

I have a script file that is similar to an example you have on here, call it example.txt that simply does a put on one file for simplicity.

I run it like this:

>WinSCP.exe \console \script=example.txt

When it finishes it just goes back to the cursor:

>

Is there a way I can add something to the script to have it tell me what is going on with the script as it runs?

Or have it create a log file?
I don't know if it ran sucsessfully or not!
Thanks

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,226
Location:
Prague, Czechia

Re: How can I know if my script is working or not?

Use winscp.com, not .exe
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum