View source: R/file_transfer.R
make_remote_directory | R Documentation |
cp
, scp
or curl
.curl
builds paths as needed (recursively) so if you select
curl
we return success without doing anything.
make_remote_directory(uri, username = "foo", password = "bar",
use = c("cp", "scp", "curl")[2], verbose = FALSE)
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 |
integer with 0 for success
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.