Topic "Scripted Feedback"

Author Message
[View user's profile]

Joined: 2006-10-16
Posts: 1
Location: London
I'm writing an application that will upload a local file to an sftp site, using WinSCP in conjunction with a script. However, I need the application to determine whether the upload has been successful. I've tried using the /log feature, but the log is overly detailed, and there is no obvious "script completed successfully" line. Ideally, I would add something like "echo 'File transfer complete'" to the end of my script, in conjunction with "option batch abort". This would only be written to the log if no errors had occurred. Could you add an "echo" command to the scripting language, or is there another way of providing feedback to another application?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24736
Location: Prague, Czechia
I have added an answer to the FAQ.
Martin Prikryl

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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License