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 Modules
A list of the currently available modules...
WebDNA Libraries
A list of available libraries for WebDNA...
Technical Change History
This Technical Change History provides a reverse chronological list of WebDNA changes...
Tips and Tricks
A list of user-submitted tips ...
Related Readings:
[append]
[append db=base...
[filecompare]
Compares the size...
[grep]
Replaces text based on a regular expression...
[uppercase]
Changes all lower case letters to upper case...
[lookup]
...
[if]
This context displays HTML or executes WebDNA conditionally only if the expression is true...