Remove a file on the remote host.
Syntax
object.DeleteFile( FileName )
Remarks
The DeleteFile method deletes an existing file from the
HTTP server using the DELETE command. This command is typically
only accepted by servers that support version 1.1 of the protocol
or later. Note that this method requires that the server be
configured to permit file deletion and that the user has the
appropriate permission to remove the file.
Return Value
A value of zero is returned if the operation was successful,
otherwise a non-zero error code is returned which indicates the
cause of the failure.
See Also
CreateFile Method, GetFile Method, OpenFile
Method, PutFile Method
|