View source: R/file_transfer.R
scp_upload | R Documentation |
This assumes that SSH public-key authentication is set up.
scp_upload(filename, url, username = "foo", password = "bar",
verbose = FALSE, app = "scp")
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 |
integer 0 for success
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
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.