Multiuser Lingo Dictionary > Multiuser Lingo Dictionary > exchange()

 

exchange()

Syntax

file("whichFile").exchange("whichFile")

Description

Multiuser Server server-side function; exchanges the file name and other information (type, creator, date, and so on) of two files. Returns a nonzero error code if it fails.

Example

This server-side statement exchanges the header information between the files Sunset.jpg and Sunrise.jpg on the server:

file("C:\Images\Sunset.jpg").exchange("C:\Images\Sunrise.jpg")

See also

copyTo()