rsync_upload: Upload a local file using rsync.

View source: R/file_transfer.R

rsync_uploadR Documentation

Upload a local file using rsync.

Description

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

Usage

rsync_upload(filename, url, username = "foo", password = "bar",
  extra = "-q", verbose = FALSE)

Arguments

filename

the fully qualified filename of file to upload

url

the destination url

username

the username (required)

password

the password (required)

extra

character extra params for scp, currently "-q"

verbose

logical, if TRUE then echo the command string

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, scp_download, scp_upload


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