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: PowerShell Continuously printing directories compared

No, this is not supported atm.
zortext

PowerShell Continuously printing directories compared

While using Winscp script for synchronization, command window continuously prints what is being compared like:
Comparing...

Local 'D:\backup\dir1' <= Remote '/home/user/dir1'
Local 'D:\backup\dir2' <= Remote '/home/user/dir2'
....


But in powershell scripting it prints comparing... and than prints last directory compared.

I tried to output as follows but did not help
function OutputDataReceived{
  param($e)
  Write-Host $e
}
$session.add_OutputDataReceived( { OutputDataReceived($_) } )


Is it possible to monitor what is being synchronized continuously?