Topic "Logging deleted files in SynchronizeDirectories method"

Author Message
DanD

Guest


Hi

I'm new with WinSCP and I try to convert all my synchronize app with WinSCP. I'm using PowerShell. I tried the example script with add_FileTransfered method that work fine but now I searched a way to catch deleted file for logging it. Does it have an event catcher or something else to og the deleed files?

Thank you!

Dan
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
This is not supported.

But you can enumerate files before and after the synchronization and find the differences.

See
https://winscp.net/eng/docs/library_example_watch_for_changes
http://stackoverflow.com/a/37695309/850848
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