Skip to main content

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>)
Table 1. FSM-Upload-File input parameters
ParameterDescriptionExample value
SourceTypeSourceType values:
  • File
  • Folder
File
LocalFileThe local folder path is displayed when SourceType is Filec:\file1.txt
LocalFolderThe local folder path is displayed when SourceType is Folder.c:\folder1
OverwriteOverwrites 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
ParameterTypeDescriptionExample value
Destination file pathstringFile path on FSM\home\UIMTEST\file1.txt
Destination folder pathstringFolder path on FSM\home\UIMTEST\folder1