Copy File from Server
This Automation Manager object copies a file from a network share location to a local path.
Privileges
Normal
You must not be connected to the network share location when trying to execute a policy using this object.
Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Remote Name | String | Yes | The full UNC path of the remote file to copy. |
| Copy Name | String | Yes |
The full path of the new local file. |
| User Name | String | The server account user name. | |
| Password | String | The server account password. |
Output Parameters
| Name | Type | Description |
|---|---|---|
| Result | Number | Returns a success value of zero or any value other than zero to indicate failure. |
| Result | String | Object execution error details. |
Example Input Parameters
| Name | Type | Required | Example |
|---|---|---|---|
|
Remote Name |
String |
Yes |
\\ServerName\shared_folder\file1.txt |
|
Copy Name |
String |
Yes |
C:\folder_name\file1.text |
| User Name | String | Domain\Username | |
| Password | String | Password!@# |
