Post a reply

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

dave007

SynchronizeDirectories, know if each file was matched or not

Hey WinSCP Folks,
Awesome tool, $9 happily sent. Keep it up!

I'm using the Session.SynchronizeDirectories method in PowerShell 3 to sync a folder to a remote site.
I have registered both the FileTransferProgress and
FileTransferred events and get progress back, but don't see a way to distinguish between a file that's uploaded, and a file that is matched and thus not uploaded.
I want to know so I can display progress like

File 1.. match found, not uploaded
File 2.. no match file uploading, (100%) complete
...

Can you tell me how I can distinguish between these two cases in the event handlers?