Move a folder and all its contenton your webspace
numero = 1037
interpreted = N
texte = [
movefolder from=
path&to=
path]Putting [movefolder from=images/2015&to=old_images/2015] in your template immediately moves the folder called "2015" to another directory "old_images/2015." The original folder is deleted. [movefolder], will overwrite an existing folder of the same name already on the disk, and all the files within; so use with caution.See also [writefile], [appendfile], [createfolder], [copyfile], [movefile], [deletefile], [renamefile], [renamefolder] and [deletefolder]
[
movefolder from=
path&to=
path]
Putting [movefolder from=images/2015&to=old_images/2015] in your template immediately moves the folder called "2015" to another directory "old_images/2015." The original folder is deleted.
[movefolder], will overwrite an existing folder of the same name already on the disk, and all the files within; so use with caution.
See also
[writefile],
[appendfile],
[createfolder],
[copyfile],
[movefile],
[deletefile],
[renamefile],
[renamefolder] and
[deletefolder]
DOWNLOAD WEBDNA NOW!
Top Articles:
WebDNA Modules
A list of the currently available modules...
WebDNA Libraries
A list of available libraries for WebDNA...
F.A.Q
A compilation of some user's questions...
WebDNA reference
...
Tips and Tricks
A list of user-submitted tips ...
Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
Related Readings:
[listchars]
Breaks a string of text into separate characters...
[if]
This context displays HTML or executes WebDNA conditionally only if the expression is true...
[xsl]
Enables the WebDNA programmer to compile and apply XSL style sheets to XML data...
[scope]
Explicitly define a block of WebDNA code that has a separate variable space...
[getchars]
Extracts a portion of the text (also known as substring or Mid$)...
[random]
will display a random number...