scp_download: Download a file using scp

Description Usage Arguments Value See Also

Description

This assumes that SSH public-key authentication is set up.

Usage

1
2
scp_download(url, dest, username = "foo", password = "bar",
  verbose = FALSE, extra = "-q")

Arguments

url

the url of the file

dest

character destination filename, by default the basename of the URL

username

the username (required)

password

the password (required)

verbose

logical, if TRUE then echo the command string

extra

character extra params for scp, currently "-q"

Value

integer with 0 for success

See Also

Other file_transfer: cp_download, duck_download, duck_upload, has_duck, has_rsync, has_scp, rsync_download, rsync_upload, scp_upload


BigelowLab/genologicsr documentation built on May 5, 2019, 2:42 p.m.