Post a reply

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: output from processing

You can enable XML logging and parse it:

Though easier is to use a WinSCP .NET assembly from a PowerShell script.

$mode = [WinSCP.SynchronizationMode]::Local
$result =
    $session.SynchronizeDirectories($mode, $localPath, $remotePath, $False)
# Throw on any error
if ($result.Downloads.Length -ge 0)
    Write-Host "Some files were downloaded"
    Write-Host "No files were downloaded"

output from processing

How become output from processing? If something were synchronized, then make something in batch file. Thanx

<run.bat> /script=script.txt
if (something were synchronized) start D:\photos\

open ftp://name:pass@
cd Camera
synchronize local D:\photos\

Can you please help me?