Rename a file in your webspace
numero = 1038
interpreted = N
texte = [
renamefile from=
path&to=
path]Putting [renamefile from=note.html&to=note_old.html] in your template immediately renames the file called "note.html" to "note_old.html"See also [writefile], [appendfile], [createfolder], [copyfile], [movefile], [deletefile], [movefolder], [renamefolder] and [deletefolder]
[
renamefile from=
path&to=
path]
Putting [renamefile from=note.html&to=note_old.html] in your template immediately renames the file called "note.html" to "note_old.html"
See also
[writefile],
[appendfile],
[createfolder],
[copyfile],
[movefile],
[deletefile],
[movefolder],
[renamefolder] and
[deletefolder]
DOWNLOAD WEBDNA NOW!
Top Articles:
Download WebDNA Applications
WebDNA applications...
F.A.Q
A compilation of some user's questions...
WebDNA Libraries
A list of available libraries for WebDNA...
WebDNA Modules
A list of the currently available modules...
Tips and Tricks
A list of user-submitted tips ...
WebDNA reference
...
Related Readings:
[text]
Text variables are fundamental building blocks of the WebDNA language...
[findstring]
[FindString Source=...
[flushcache]
...
[deletefile]
Deleting a file from your website...
[sendmail]
There is hardly a website that doesn't at some point need to send an email...
[input]
[url]...