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
username Username
password Password
host Hostname
port Port
upload Upload
download Download


To show the documentation in your terminal, run

fastlane action scp

View source code


Back to actions