Technical References - [deletefolder]

Deletes a folder from your website

numero = 191
interpreted = N
texte = 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] 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:

Technical Change History

This Technical Change History provides a reverse chronological list of WebDNA changes...

Download WebDNA Applications

WebDNA applications...

AWS Raw WebDNA LAMP-Plus WebServer

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

F.A.Q

A compilation of some user's questions...

WebDNA Libraries

A list of available libraries for WebDNA...

WebDNA Modules

A list of the currently available modules...

Related Readings:

[convertwords]

Changes specified words in a string of text to different words...

[authenticate]

WebDNA provides a few options for password protecting your pages...

[setmimeheader]

Causes WebDNA to add a new MIME header to the outgoing HTML...

[SQL]

Performs a SQL statement on an ODBC data source...

[cart]

Putting [cart] in your template automatically creates a unique shopping cart...

[freememory]

...