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.

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)


Topic review


Re: PowerShell Continuously printing directories compared

No, this is not supported atm.

PowerShell Continuously printing directories compared

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

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{
  Write-Host $e
$session.add_OutputDataReceived( { OutputDataReceived($_) } )

Is it possible to monitor what is being synchronized continuously?