Topic "How to notify user that the new version of file is download"

Author Message
shaktisingh
[View user's profile]

Joined: 2011-10-18
Posts: 1
HI,

I am using WinScp to synchronize remote and local file. I want to download the remote file if there is any update in the file.

I have created script for this and successfully scheduled with the windows task scheduler and that download the file only when if the remote file is updated.

I used this in script


Code:
option include test.csv
synchronize local d:\ /home/username


But I also want to notify the windows user that the new version of remote file has been downloaded.

Is this possible to generate a some kind of notification only when if there is a new version of file has been downloaded, say a pop, or some kind of message so that the user aware of that the new version of file has been download and he does not need to go there every day and check if the file is updated or not.

Thanks for your help
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
Turn on XML logging and look for <download> tag in the log after the script finishes.
http://winscp.net/eng/docs/logging_xml

If you find one, act accordingly, e.g. you can send an email:
http://winscp.net/eng/docs/guide_automation#results
_________________
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