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.

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)


Topic review


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

Use, not .exe
Inkster jim

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


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!