View source: R/file_transfer.R
| duck_download | R Documentation |
Download a file using duck
duck_download(url, dest, username = "foo", password = "bar",
verbose = FALSE, extra = "--quiet --existing overwrite")
url |
the url of the file |
dest |
character destination filename, by default the basename of the URL |
username |
the username (required) |
password |
the password (required) |
verbose |
logical, if TRUE then echo the command string |
extra |
character extra params for duck, currently "–existing overwrite" |
integer with 0 for success
Other file_transfer: cp_download,
duck_upload, has_duck,
has_rsync, has_scp,
make_remote_directory,
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.