Put File Activity
The Put File activity facilitates the secure transfer of a specified local file to a remote server. This activity is essential for uploading data, configurations, or reports to a target system, ensuring that the remote environment receives the necessary files for its operations.
| Field | Description | Requirement |
|---|---|---|
| Session name | Reference name of the session established by the Connect activity. | Required |
| Local file name | Path of the local file to be uploaded. | Required |
| Remote file name | Path on the remote server where the file will be uploaded. | Required |
| Overwrite | Specifies whether to overwrite an existing file or folder with the same name on the remote server. | Optional |
Action Types & Examples
Session Name
- Format: string
- Example Result:
testSession
Local File Name
- Format: string (file path)
- Example Result:
C:TempGet_File_Test.txt
Remote File Name
- Format: string (file path)
- Example Result:
/home/username/TestFolder/
Implementation Examples
Field Setup - Session name: testSession - Local file name: C:TempGet_File_Test.txt - Remote file name: /home/username/TestFolder/ - Overwrite: true (or false as needed)
Execution Parameters - Session name: testSession - Local file name: C:TempGet_File_Test.txt - Remote file name: /home/username/TestFolder/ - Overwrite: true
Technical Notes
Ensure that the specified local and remote paths are accessible by the execution environment and that appropriate read/write permissions are granted for successful file transfer. Path formats should adhere to the conventions of the respective local and remote operating systems.