History |
Copy (server files)
Minimum version: 4.0
Purpose
Copies an object on the FirstClass server without transferring the contents through your application.
The same rules apply whether you copy an object using the client or this keyword.
If ServerFile.RunTimeErrors = TRUE, an error will be thrown on failures. All failures will set ServerFile.Error to the FirstClass error code for the failure case.
Syntax
ServerFile.Copy (Path | FileName, Destination)
Example
Dim sf as ServerFile
sf.OpenFile ("Conferences | AConf | Test")
sf.Copy ("Conferences | TestConf")
| ||||||||