SSH File Download Action

Flux’s SSH File Download Action allows file transfers over SSH from one server to another server that is configured with public key authentication using SSH. In addition to the required properties for SSH action, one needs to specify the remote path of the file being downloaded and the destination location (i.e., local path) where to place the file. See SSH Actions for initial setup.

Property Value
Remote Path /home/arul/Downloads/flux-8-1-0.zip
Local Path /Users/arul/work/staging

This action returns the following information:

  • SshFileActionResult has the result after executing the action.
  • filenames - the list of files that were successfully copied.
  • successful_count - the number of files that succeeded file copy.

This action supports Zlib-based compression for file transfers, which improves transfer speeds.