make_remote_directory: Make a remote directory specified by a URL using 'cp', 'scp'...

View source: R/file_transfer.R

make_remote_directoryR Documentation

Make a remote directory specified by a URL using cp, scp or curl.

Description

curl builds paths as needed (recursively) so if you select curl we return success without doing anything.

Usage

make_remote_directory(uri, username = "foo", password = "bar",
  use = c("cp", "scp", "curl")[2], verbose = FALSE)

Arguments

uri

character

username

the username (required)

password

the password (required for curl)

use

character one of 'cp', 'scp' or 'curl'

verbose

logical, if TRUE then echo the command string

Value

integer with 0 for success

See Also

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


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