Technical References - [movefolder]

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 Libraries

A list of available libraries for WebDNA...

WebDNA Modules

A list of the currently available modules...

Download WebDNA Applications

WebDNA applications...

Technical Change History

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

Tips and Tricks

A list of user-submitted tips ...

WebDNA reference

...

Related Readings:

[freememory]

...

[createfolder]

Create an empty folder on your webspace...

[listfiles]

When listing files...

[waitforfile]

The server waits until the file appears on disk...

[movefile]

This instructions move a file from one location to another...

[appendfile]

Writes text to the end of an existing file...