Technical References - [movefile]

This instructions move a file from one location to another, inside your website

numero = 193
interpreted = N
texte = MOVING a FILE [ movefile from=path&to=path] Copies the file to a new location, and then deletes the original one once the new file is safely written to disk. If a file by the same name already exists, [movefile] will overwrite it. You may specify a different folder for the file to be moved to. Example Putting [movefile from=fred&to=wilma] in your template immediately moves the file called "fred" to another file called "wilma," and deletes the file "fred" after the move is complete. See also [writefile], [appendfile], [createfolder], [copyfile], [copyfolder], [deletefile] and [deletefolder] MOVING a FILE
[ movefile from=path&to=path]
Copies the file to a new location, and then deletes the original one once the new file is safely written to disk. If a file by the same name already exists, [movefile] will overwrite it. You may specify a different folder for the file to be moved to.

Example
Putting [movefile from=fred&to=wilma] in your template immediately moves the file called "fred" to another file called "wilma," and deletes the file "fred" after the move is complete.

See also [writefile], [appendfile], [createfolder], [copyfile], [copyfolder], [deletefile] and [deletefolder]

DOWNLOAD WEBDNA NOW!

Top Articles:

Download WebDNA Applications

WebDNA applications...

WebDNA Modules

A list of the currently available modules...

WebDNA Libraries

A list of available libraries for WebDNA...

F.A.Q

A compilation of some user's questions...

Technical Change History

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

WebDNA reference

...

Related Readings:

[SQLexecute]

Executes and persits the results of an SQL statement...

[if]

This context displays HTML or executes WebDNA conditionally only if the expression is true...

[scope]

Explicitly define a block of WebDNA code that has a separate variable space...

[listwords]

Breaks a string of text into separate words...

[addfields]

[addfields db=...

[xslt]

The [xslt] Context allows the WebDNA programmer to 'apply' an XSL style sheet to an XML document and thus 'transform' the XML data into any format the programmer desires (usually HTML)...