ASP DeleteFolder Method
The ASP DeleteFolder Method is used to delete one or more folders from the server. It returns an error if we want to delete a non-existing folder.
- foldername: It specifies the name of the folder which you want to delete.
- force: It is an optional attribute. It contains a Boolean value which indicates that whether a read-only folder will be deleted or not. It set to true means that the read-only folder will be deleted. False represents that the folder will not be deleted.
Example: Below example demonstrates the DeleteFolder Method.
Folder is Deleted