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
delete
Removes a specified document from the document pool. The Delete
request can also delete folders.
If this request is sent to Server Manager using either HTTP or Web services, the specified file is deleted
from all registered QuarkXPress servers if the common doc pool has been switched off in the admin
client. If the common doc pool has been turned on in the admin client, the delete request is sent to any
one registered QuarkXPress server.
Namespace
delete
Response
QuarkXPress Server responds with the message "File deleted successfully."
Alerts
File not found
HTTP Error #404
QuarkXPress Server Error #-43
This alert is displayed when you try to delete a file that does
not exist in the document pool.
What to do: Specify a valid file name in the delete request.
Folder cannot be
deleted. It may still
contain files.
HTTP Error #405
This alert is displayed when you try to delete a folder that is
not empty.
What to do: You cannot delete a folder that is not empty.
First, delete all the files in the folder, and then resubmit the
delete request to delete the folder.
I/O error trying to
read or write to
disk.
HTTP Error #500
QuarkXPress Server Error #-36
This alert is displayed when you try to delete an open file.
What to do: Close the opened file and resubmit the delete
request.
Incorrect
administration realm
user name and
password.
HTTP Error #401
This alert is displayed when you provide an invalid
administrator user name and password.
What to do: Find out the correct user name and password
that were set in the server configuration and then resubmit the
delete 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 20:37:57 - delete/2000.qxp - Type: text/html - Size: 26 - 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/2004 21:49:13 - Error - Error Code: 10098 - Folder cannot be deleted. It
may still contain files.
Example GET
URL
http://localhost:8080/delete/sample.qxp
Page 190