scp

Transfer files via SCP

scp
Supported platforms ios, android, mac
Author @hjanuschka

2 Examples

scp(
  host: "dev.januschka.com",
  username: "root",
  upload: {
    src: "/root/dir1",
    dst: "/tmp/new_dir"
  }
)
scp(
  host: "dev.januschka.com",
  username: "root",
  download: {
    src: "/root/dir1",
    dst: "/tmp/new_dir"
  }
)

Parameters

Key Description Default
username Username
password Password
host Hostname
port Port 22
upload Upload
download Download

* = default value is dependent on the user's system


To show the documentation in your terminal, run

fastlane action scp

View source code


Back to actions