8.0
Table Of Contents
- Overview
- New and enhanced features
- Getting started
- Functions
- Function overview
- Render types
- Content modifiers
- Render modifiers
- XML modify
- XML deconstruct and construct
- About XML deconstruct/construct
- xml
- construct
- Deconstructing a project
- Constructing a project
- Working with pages and spreads
- Working with layers
- Working with boxes
- Working with pictures
- Working with text
- Working with tables
- Working with Composition Zones
- Using server XSLT
- Working with lists
- Working with anchored boxes
- Working with placeholders
- Working with metadata
- Working with hidden text
- Administrative Request handlers
- The Modifier DTD
- Sample applications
- Contact Quark
- Legal notice
fileinfo
Returns the creation date, modification date, and file size of the specified document in XML format.
Namespace
fileinfo
Response
The following XML code displays the creation date, modification date, and size of
the document.
<?xml version="1.0" encoding="UTF-8" ?>
<FILEINFO>
<CREATIONDATE>08-01-2004 06:14:07 UTC </CREATIONDATE>
<MODIFICATIONDATE>08-01-2004 11:56:56 UTC
</MODIFICATIONDATE>
<SIZE>1519616</SIZE>
</FILEINFO>
Alerts
Incorrect
administration realm
user name and
password.
HTTP Error #401
This alert is displayed when an invalid administrator user name
and password are specified.
What to do: Find out the correct user name and password set
in the Server Configuration dialog box, and then resubmit
the fileinfo request with the correct user name and password.
Logs
If the document is successfully rendered, a transaction success message is written
to the QuarkXPress Server Transaction Log file. The transaction entry consists of
the date and time of the request, request type, document name, type of response
produced by the server, size of response returned in bytes, and client IP address.
The following is a sample of a transaction entry:
8/3/2005 18:26:48 - fileinfo/Brochure_Base.qxd - Type: text/xml - Size: 191 -
Client: 127.0.0.1
If an alert is displayed, an error message is written to the QuarkXPress Server
error log file. The following is a sample of an error log entry:
8/3/2005 17:49:23 - Error - Error Code: 10022 - Incorrect administration realm
user name and password.
Example GET
URL
http://localhost:8080/fileinfo/sample.qxp
Example, Object
Model
Request Object Name : FileInfoRequest
sdk.QRequestContext rc = new sdk.QRequestContext();
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
rc.request = new FileInfoRequest();
//Create the service and call it with QRequestContext object
QManagerSDKSvcService svc = new QManagerSDKSvcService();
sdk.QContentData qc = svc.processRequest(rc);
Notes
The fileinfo parameter request requires an administrator user name and password
if the user name and password were set in the Server Configuration dialog box.
When the fileinfo request is submitted to the browser, it asks for the user name
and password. Enter the same user name and password that were set in the
Server Configuration dialog box and click OK.
Page 195