copyfolder

Copy a folder and all its content on your web server.
[copyfolder from=sales2021&to=archives/sales2021]
Using [copyfolder] immediately copies the folder named sales2021 into another folder named archives.

Parameters

ParameterDescription
fromThe path to where the existing folder is, including the folder's name
toThe path to where the folder is to be copied to, including the folder's existing or new name

[copyfolder] can be used to rename the resulting folder.

Example WebDNA code:
[copyfolder from=allrecords&to=records2021]

[copyfolder], will overwrite an existing folder of the same name already on the disk, and all the files within; use with caution.