Topic "Send email only if file is uploaded"

Author Message
ConfusedScripter

Guest


I currently have a script running daily that uploads files to an FTP site , but there is not always something to upload.

Is there a way to set wscp to only send an email if files were uploaded or not. and then if the files were tried to be uploaded if they were successful or not.

Thanks!
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26299
Location: Prague, Czechia
Its' not easy with basic scripting.

But it's easy with WinSCP .NET assembly used from some scripting language.

See this script for an example:
https://winscp.net/eng/docs/script_local_move_after_successful_upload
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