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
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
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Use winscp.com, not .exe
_________________
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