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:
Tips and Tricks
A list of user-submitted tips ...
WebDNA Modules
A list of the currently available modules...
Download WebDNA Applications
WebDNA applications...
WebDNA reference
...
WebDNA Libraries
A list of available libraries for WebDNA...
Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
Related Readings:
[SQLdisconnect]
...
[SQLexecute]
Executes and persits the results of an SQL statement...
[sendmail]
There is hardly a website that doesn't at some point need to send an email...
[authenticate]
WebDNA provides a few options for password protecting your pages...
[search]
Use the [Search] context with [founditems] to easily retrieve records from your databases...
[time]
Putting [time] in your template displays the current time set on your web server's clock...