scp_upload: Upload a file using scp.

View source: R/file_transfer.R

scp_uploadR Documentation

Upload a file using scp.

Description

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

Usage

scp_upload(filename, url, username = "foo", password = "bar",
  verbose = FALSE, app = "scp")

Arguments

filename

the fully qualified filename of file to upload

url

the destination url

username

the username (required)

password

the password (required)

verbose

logical, if TRUE then echo the command string

app

char, the name of the scp app, use this to add -vvv to scp command

Value

integer 0 for success

See Also

Other file_transfer: cp_download, duck_download, duck_upload, has_duck, has_rsync, has_scp, make_remote_directory, remote_directory_exists, rsync_download, rsync_upload, scp_download


BigelowLab/genologicsr documentation built on June 7, 2024, 3:15 a.m.