9.5

Table Of Contents
http://localhost:8080/exportprefsasjj
Example GET
URL
If a user name and password have been set in the Server Configuration dialog box, the browser
requests that user name and password when you submit a getdocinfo parameter request.
Notes
Fileinfo
The fileinfo request handler returns XML that contains the creation date, modification
date, and file size of a document.
fileinfo
Namespace
Lets you retrieve the creation date of a file in UTC format. For example:
http://localhost:8080/fileinfo/sample.qxd?
action=get&creationdate
action=get
Parameters
Lets you set the creation and modification dates of a file in UTC format. For
example:
http://localhost:8080/fileinfo/sample.qxp?
action=set&creationdate=10-06-2007 12:12:37 UTC&
modificationdate=10-06-2007 12:12:37 UTC
action=set
The following XML code displays the creation date, modification date, and size of the document.
<?xml version="1.0" encoding="UTF-8" ?>
<FILEINFO>
Response
<CREATIONDATE>08-01-2004 06:14:07 UTC
</CREATIONDATE>
<MODIFICATIONDATE>08-01-2004 11:56:56 UTC
</MODIFICATIONDATE>
<SIZE>1519616</SIZE>
</FILEINFO>
HTTP Error #401Incorrect
administration
Alerts
This alert displays if you specify an invalid administrator user name and
password.
realm user name
and password.
What to do: Use the user name and password set in the QuarkXPress Server
Manager client Server Configuration dialog box.
See Understanding loggingLogs
http://localhost:8080/fileinfo/sample.qxp
Example GET
URL
Request object name: FileInfoRequest
com.quark.qxpsm.QRequestContext rc = new com.quark.qxpsm.QRequestContext();
Example, object
model
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
RequestService svc = new RequestService();
com.quark.qxpsm.QContentData qc = svc.processRequest(rc);
If a user name and password have been set in the Server Configuration dialog box, the browser
requests that user name and password when you submit a fileinfo parameter request.
Notes
A GUIDE TO QUARKXPRESS SERVER 9.5 | 155
USING QUARKXPRESS SERVER