R/files.R
hb_download_file.Rd
Download an asset
hb_download_file(client, url, dest, ..., overwrite = FALSE)
A harbour_client.
harbour_client
Asset URL (as returned by SeaTable in a file/image cell).
Destination path. Parent directories are created if needed.
These dots are for future extensions and must be empty.
Refuse to clobber an existing file unless TRUE.
TRUE
Invisibly returns dest.
dest
Other files: hb_attach_file(), hb_delete_asset(), hb_upload_file()
hb_attach_file()
hb_delete_asset()
hb_upload_file()
if (FALSE) { # interactive() client <- hb_client() hb_download_file(client, "https://...", tempfile()) }