Technical References - [deletefolder]

Deletes a folder from your website

Putting
[deletefolder path=StarShip]

in your template immediately deletes the folder called "StarShip" in the same folder as the template. Paths are relative to the template, so "somefolder/StarShip" deletes the folder down a level from the template inside a folder called "somefolder," while "../StarShip" deletes the folder inside the folder one level up from the template.

All files inside the folder are deleted, and all subfolders are deleted, as though you had dragged the folder to the trashcan and emptied it immediately. This operation is not undoable!



See also [writefile], [appendfile], [createfolder], [copyfile], [copyfolder], [movefile] and [deletefile]

DOWNLOAD WEBDNA NOW!

Top Articles:

F.A.Q

A compilation of some user's questions...

Tips and Tricks

A list of user-submitted tips ...

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

WebDNA Modules

A list of the currently available modules...

WebDNA Libraries

A list of available libraries for WebDNA...

Download WebDNA Applications

WebDNA applications...

Related Readings:

[include]

Include the contents of the specified file...

[referrer]

Displays the URL of the referring page...

[search]

Use the [Search] context with [founditems] to easily retrieve records from your databases...

[ipaddress]

Displays the ip address of the remote computer...

[capitalize]

Capitalizes the first letter of all words in a sentence...

[countchars]

Counts the number of letters inside the context...