FSM-Upload-File
The FSM-Upload-File activity uploads a local file (or folder) to the FSM server using the scp command. The file or folder is uploaded to the \home\userid\ path on the FSM. This activity fails if a the file with the same name already exists on the FSM.
Input parameters
The following table lists the input parameters that can be used with the FSM-Upload-File activity.
Example
<span className="keyword cmdname">FSM-Upload-File</span> SourceType<Enum>, (LocalFile<String>),
(LocalFolder<String>) (Overwrite<Boolean>)
| Parameter | Description | Example value |
|---|---|---|
| SourceType | SourceType values:
| File |
| LocalFile | The local folder path is displayed when SourceType is File | c:\file1.txt |
| LocalFolder | The local folder path is displayed when SourceType is Folder. | c:\folder1 |
| Overwrite | Overwrites the file that has the same name.
| False |
Published data
The following table lists the published data parameters that can be used with the FSM-Upload-File activity.
Example
[Array]
| Parameter | Type | Description | Example value |
|---|---|---|---|
| Destination file path | string | File path on FSM | \home\UIMTEST\file1.txt |
| Destination folder path | string | Folder path on FSM | \home\UIMTEST\folder1 |
Give documentation feedback