Differences

This shows you the differences between the selected revisions of the page.

2009-03-03 2009-03-05
other operations (martin) schema and example (martin)
Line 282: Line 282:
Associated script commands: ''[[script_commands#keepuptodate|keepuptodate]]'', ''[[script_commands#put|put]] -preservetime'', ''[[script_commands#synchronize|synchronize]] remote|both'' Associated script commands: ''[[script_commands#keepuptodate|keepuptodate]]'', ''[[script_commands#put|put]] -preservetime'', ''[[script_commands#synchronize|synchronize]] remote|both''
 +===== Schema =====
 +XML schema for the XML log is available at:
 +http://winscp.net/schema/session/1.0
 +
 +===== Example =====
 +<code xml>
 +<?xml version="1.0" encoding="UTF-8"?>
 +<session xmlns="http://winscp.net/schema/session/1.0"
 +        name="martin@example.com" start="2009-03-02T19:34:57.734Z">
 +  <upload>
 +    <filename value="d:\www\about.htm" />
 +    <destination value="/home/martin/public_html/about.html" />
 +    <result success="true" />
 +  </upload>
 +  <touch>
 +    <filename value="/home/martin/public_html/about.html" />
 +    <modification value="2008-12-28T11:22:19.000Z" />
 +    <result success="true" />
 +  </touch>
 +  <chmod>
 +    <filename value="/home/martin/public_html/about.html" />
 +    <permissions value="rw-r--r--" />
 +    <result success="true" />
 +  </chmod>
 +  <rm>
 +    <filename value="/home/martin/public_html/about.bak" />
 +    <result success="false">
 +      <message>No such file or directory.
 +Error code: 2
 +Error message from server: No such file
 +Request code: 13</message>
 +    </result>
 +  </rm>
 +</session>
 +</code>

Last modified: by martin