FileSystem.ScpUpload

Description

This Task takes files and folders and uploads them to a server using SCP.

FileSystem.ScpUpload also passes its input to its output directory as it is, so you can put another Task behind it.

Note: For security reasons only key-based authentication is supported. Using a username/password combination is not possible on purpose. You do not want your Workflows to contain passwords in plain text.

Arguments

  • server_address (required) is a string of the IP address or host that you want to connect to.
server_address = '192.168.1.123'
  • remote_path (required) is a string specifying the full path where to upload your files to on the server.
remote_path = '/home/john/uploads'
  • username (required) is a string specifying your remote user name.
username = 'john'
  • scp_executable (optional) is a string specifying the full path to the scp binary.
# scp_executable = '/usr/bin/scp'  # default
scp_executable = '/my/non-default/scp'

Requirements

Python (Non-Standard-Library Packages)

None.

External Executables

None.

API Credentials

None.

Resources