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:
FSM-Upload-File SourceType<Enum>, (LocalFile<String>), 
(LocalFolder<String>) (Overwrite<Boolean>)
Table 1. FSM-Upload-File input parameters
Parameter Description Example value
SourceType SourceType values:
  • File
  • Folder
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.
  • The default value is false.
  • When the SourceType= File, the local folder path is displayed.
False

Published data

The following table lists the published data parameters that can be used with the FSM-Upload-File activity.

Example:
[Array]
Table 2. FSM-Upload-File published data parameters
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