Easy Tutorial
❮ Prop Sharename Asp Ajax Asp ❯

ASP DeleteFile Method



The DeleteFile method deletes one or more specified files.

Note: If you attempt to delete a file that does not exist, an error will be raised.

Syntax

Parameter Description
filename Required. The name of the file to be deleted (wildcards are allowed).
force Optional. A Boolean value indicating whether read-only files can be deleted. True indicates that read-only files can be deleted, False indicates that read-only files cannot be deleted. The default is False.

Example


❮ Prop Sharename Asp Ajax Asp ❯