Syntax
InternetDelete URL=<url> Headers=<hdrs> Result=<var>Description
Deletes the file specified by the URL.Parameters
URL=<url>
- The URL of the file to be deleted.
Headers=<var>
- Optional. A string containing HTTP header fields to be included in the request. Header fields should be formatted just as they are to be placed in the HTTP header, including newlines.
Result=<var>
- The variable into which the HTTP response headers are placed.
Remarks
Example
InternetDelete
URL="http://www.p1.com/index.html"
Result=responseHeaders
MessageBox Text=responseHeadersThe above script fragment displays following in a message box. (It is generally not allowed to delete files from a webserver.)
HTTP/1.1 403 Forbidden
Date: Tue, 13 Jun 2006 05:04:04 GMT
Server: Apache/1.3.6 (Unix) FrontPage/4.0.4.3
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html