Command |
Description |
COPY |
Creates a copy of the specified resource on the server. This
command requires that the client have read permission for the source
document and write permission for the destination document. If the
destination exists, its contents will be replaced. This command
cannot be used to overwrite executable programs or scripts, and it
cannot be used to create or replace files in the Windows system
folders or in the root directory of any mounted volume. This command
is not enabled by default if the server is started in read-only
mode. |
DELETE |
Deletes the specified resource from the server. This command
requires that the client have write permission to the requested
document or directory. This command cannot be used to remove
executable programs or scripts, and it cannot be used to delete
files in the Windows system folders or in the root directory of any
mounted volume. This command is not enabled by default if the server
is started in read-only mode. |
GET |
Requests that the server retrieve the contents of the specified
resource. This command requires that the client have read permission
to access the requested document. If the resource is a CGI program
or script, then the client must also have execute permission. If the
resource is a directory, the server will search for a default index
file in that directory. If an index file is found, its contents will
be returned to the client. If an index file is not found, then a
list of the files and subdirectories will be sent to the client. |
HEAD |
Requests that the server return information about a resource
without sending the contents. Typically it is used to verify the
existence of a document, or determine if the contents of the
document have changed, without downloading potentially large amounts
data. This command requires that the client have read permission to
access the requested document. If the resource is a CGI program or
script, then the client must also have execute permission. |
MKCOL |
Creates a new subdirectory on the server at the
specified location. This command requires that the parent directory
exist and that the client have write permission. This command cannot
be used to create a subdirectory in the Windows system folders or in
the root directory of any mounted volume. This command is not
enabled by default if the server is started in read-only mode. |
MOVE |
Moves the specified resource on the server to a new location.
This command requires that the client have read permission for the
source document and write permission for the destination document.
If the destination exists, its contents will be replaced. This
command cannot be used to overwrite executable programs or scripts,
and it cannot be used to create or replace files in the Windows
system folders or in the root directory of any mounted volume. This
command is not enabled by default if the server is started in
read-only mode. |
OPTIONS |
Returns the commands that the server supports for the specified
resource. Because this command can be used to determine the
capabilities of a server and what commands permitted to access
specific resource,
it is not recommended that you enable it with any server that is
publicly accessible over the Internet. This command is not enabled by
default. |
POST |
Submits data to the server that is provided to the specified
resource. The resource should be an executable program or script,
otherwise this command is handled in the same way as the GET
command. This command is used by browsers to submit form data to the
server, and requires that the client have read and execute
permission. |
PUT |
Submits data to the server that should be stored in the
specified resource. Unlike the POST command, the PUT command does
not submit data to a program or script, it creates a local file on
the server in the location that is mapped to the resource path. The
client must have write permission, and the parent directory
specified in the resource path must already exist. The PUT command
cannot be used overwrite executable programs and cannot be used to
create files in the Windows system folders or the root directory of
any mounted volume. This command is not enabled by default if the
server is started in read-only mode. |
TRACE |
Returns a copy of the command and request headers sent by the
client. This command is typically used for debugging purposes and is
not enabled by default. Because the TRACE command can be used to
obtain the value of cookies and authorization tokens submitted with
the request, enabling this command can present a security risk. It
is not recommended that you enable this command with any server that
is publicly accessible over the Internet. |