8.0

Table Of Contents
addfile
Use the addfile request handler to place a document or image file in the document pool. The
addfile request is always a POST request. It cannot be a GET request because binary content is attached
with the request.
If you send an addfile request to Server Manager, using HTTP or the Web services interface, the file is
uploaded to all registered QuarkXPress servers if the common doc pool switch is set to off in the admin
client. If the common doc pool is been enabled in the admin client, the file is uploaded to any one
registered QuarkXPress server.
Namespace
addfile
Parameters
uploadfile
Binary file or
MIME-type file
Contains the actual binary content of the
QuarkXPress file, a Word file, a text file,
or MIME-types files, such as EPS,
JPEG, PNG, and PICT.
Response
QuarkXPress Server responds with the message "File upload completed."
Alerts
The file system
document pool is
not enabled.
HTTP Error #404
This alert is displayed when you attempt to upload a
document but the file system document pool is not enabled in
the Server Configuration dialog box.
What to do: Check Enable File System Document Pool in
the Server Configuration dialog box. Click OK and
resubmit the addfile request.
Incorrect
administration realm
user name and
password.
HTTP Error #401
This alert is displayed when you enter an invalid administrator
user name and password.
What to do: Identify the correct user name and password set
in the Server Configuration dialog box, and then resubmit
the addfile request with the correct user name and password.
Cannot find
required volume or
folder
HTTP Error #500
QuarkXPress Server Error #120
This alert is displayed when you attempt to upload a
document that exists in a subfolder and this subfolder does not
exist in the document pool. The addfile request does not
create a subfolder in the document pool if Generate
Hierarchy on Document Upload is unchecked in the
Server Configuration dialog box.
What to do: Check Generate Hierarchy on Document
Upload in the Server Configuration dialog box. Click OK
and resubmit the addfile request.
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 server, size of response returned in bytes, and client IP address.
The following is a sample of a transaction entry:
8/3/2004 19:24:12 - addfile/p1.qxp - Type: text/html - Size: 22 - Client: 127.0.0.1
Page 184