SynchronizeDirectories, know if each file was matched or not

Advertisement

dave007
Donor
Joined:
Posts:
1
Location:
Florida

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?

Reply with quote

Advertisement

You can post new topics in this forum