Returns download information of a document - V8.0

Syntax

Visual Basic (declaration)
Public Function GetDownloadInfo( _ 
ByVal AuthenticationTicket as String, _ ByVal Path as String) as XmlNode

C# (declaration)
public XmlNode GetDownloadInfo( 
string AuthenticationTicket, string Path)

Parameters

AuthenticationTicket
    string infoRouter ticket
Path
    string The path of the document

Return Value

returns xml fragment.
<response success="true" Size="" VersionNumber="" error="">
if success attribute is "true", the download information has been returned successfully.
if success attribute is "false", the error attribute indicates the encountered error.
The "Size" attribute indicates the document size in bytes.
The "VersionNumber" attribute indicates last version the document.

<response success="true" error="" Size="88576" ContentType="application/vnd.ms-excel" ModificationDate="2007-08-08 07:53:42" VersionNumber="1000001" AlterDocumentName="Annual operating budget 2007.xls"/>

Remarks

The caller must have at least "Read" permission on the document or must be the owner of the document.