2020

Table Of Contents
USING QUARKXPRESS SERVER
Use the INPUT tag to create the text box and the Browse button.
<INPUT TYPE="TextBox": To create text boxes only.
<INPUT TYPE=file: To create a combination of text box and the Browse
button in the form. When you click Browse and choose any file, the file path of
the selected file displays in the text box linked with the Browse button.
You can use the INPUT tag to create the Submit button: <INPUT TYPE=submit
VALUE="Submit">
When you click Submit, the UploadDocument() function is called. This function is
defined inside a script tag. It combines the information that has been entered in the
form to create a URL for the addfile request, then sends this URL to QuarkXPress
Server for processing. The code for the UploadDocument() function is as follows:
<SCRIPT LANGUAGE="JavaScript">
function UploadDocument() {
var URL;
URL = "http://" + UploadForm.MachineIP.value + ":"
+ UploadForm.Port.value + "/addfile/" +
UploadForm.NewName.value;
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
HTTP Error #401 This alert displays if you specify an invalid
administrator user name and password.What to do: Use the
A GUIDE TO QUARKXPRESS SERVER 2020 | 167