Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Email nofitication

It's hard to help, if you do not post your code.

In general, you can investigate results of the Session.SynchronizeDirectories. In particular, check the SynchronizationResult.Downloads and/or SynchronizationResult.Uploads.
https://winscp.net/eng/docs/library_synchronizationresult
eliot

Email nofitication

Hi everyone.

I have following scenario.
I've created an batch script for coping files from one server to another and that work great.
But that job work every 15 mins. Often there is no new files so there is nothing to copy.
What I need is that when copy is over, if there wasn't new files to copy not to send any notification with email, but if there was new files it was just copied then send a file with email. I have created PowerShell script for sending files. Any idea how to know that there was files copied?

Thanks