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:

WebDNA reference

...

[biotype]

BioType is a behavioral biometrics WebDNA function based on ADGS research and development (from version 8...

Tips and Tricks

A list of user-submitted tips ...

WebDNA Modules

A list of the currently available modules...

Download WebDNA Applications

WebDNA applications...

AWS Raw WebDNA LAMP-Plus WebServer

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

Related Readings:

[raw]

Displays enclosed text without interpreting the [xxx] tags in any way...

[commitdatabase]

[COMMITDATABASE db=name...

[xmlparse]

Enable the WebDNA programmer to input XML data into a WebDNA variable...

[cookie]

Cookies are a great way to remember visitors...

[search]

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

[listfiles]

When listing files...