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

Author Message
Inkster jim
[View user's profile]

Joined: 2011-05-23
Posts: 11

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!
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26889
Location: Prague, Czechia
Use, not .exe
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License