Post a reply

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

thibeau

solution

hi, looking to do the same thing, just so I don't have to re-invent the wheel can you post your solution?
WouterT

Re: Log only output of synchronization job

Thanks for the reply, I'll look into the xml logging.
martin

Re: Log only output of synchronization job

Use XML logging.
WouterT

Log only output of synchronization job

Hi all,

Is it possible to only log the output of the sync command.

I'm running:
synchronize REMOTE -mirror -delete "c:\temp" /home/wouter/Temp

And I only want the output of this command stored in a log file, so I can use it again in an email script.
So I only want to know what's been modified (del/copy etc) in the transfer, below is the part I need.
Comparing...

Local 'c:\temp\2' => Remote '/home/wouter/Temp/2'
Synchronizing...
Local 'c:\temp' => Remote '/home/wouter/Temp'
'/home/wouter/Temp/log.txt' deleted
winscp>


The /log with winscp.exe gives me way to much info.

Anyone who can point me in the right direction.

Thanks!
Wouter