Technical References - [movefile]

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

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 Libraries

A list of available libraries for WebDNA...

WebDNA reference

A list of all WebDNA instructions...

Technical Change History

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

AWS Raw WebDNA LAMP-Plus WebServer

Amazon Web Services (AWS) README for Machine Image ID...

Tips and Tricks

A list of user-submitted tips ...

Related Readings:

[waitforfile]

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

[uppercase]

Changes all lower case letters to upper case...

[sendmail]

There is hardly a website that doesn't at some point need to send an email...

[copyfile]

Copy a file with the content you want on your webspace...

[SQLrelease]

...

[xmlnodesattributes]

This context is used to iterate the attributes of a specific XML node...