2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 171
UploadForm.action = URL;
}
</SCRIPT>
Delete
The delete request handler removes a specified document or folder from the
document pool.
If you send a
delete request to QuarkXPress Server Manager using HTTP or the
Web services interface while the common doc pool switch is set to off in the
QuarkXPress Server Manager client, the file or folder is uploaded to all registered
QuarkXPress Server instances. If the common doc pool is enabled, the file or folder
can be deleted from any one registered QuarkXPress server instance.
Namespace delete
Response The message “File deleted successfully.”
Alerts
File not found
HTTP Error #404 QuarkXPress
Server Error #–43 This alert
displays if you try to delete a file
that does not exist in the
document pool.
Folder cannot be deleted. It may
still contain files.
HTTP Error #405 This alert
displays if you try to delete a
folder that is not empty. What
to do: 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
displays if you try to delete an
open file.
Incorrect administration realm
user name and password.
HTTP Error #401 This alert
displays if you specify an
invalid administrator user name
and password.What to do: Use
the user name and password set
in theQuarkXPress Server
Manager client Server
Configuration dialog box.
Logs See “Understanding logging.”
Example GET URL http://localhost:8080/delete/sample.qxp
Example, object model
Request object name:
DeleteRequestcom.quark.qxpsm.QRequestContext rc = new
com.quark.qxpsm.QRequestContext();
if(!this.DocumentSettings1.documentName.Text.Equals(“”))
rc.documentName =
this.DocumentSettings1.documentName.Text; rc.request = new
DeleteRequest(); // Create the service and call it with
QRequestContext object RequestService svc = new
RequestService(); com.quark.qxpsm.QContentData qc =