Download a file from Basecamp Classic
basecamp_download(url, destdir = getwd(), destfile = basename(url), token = Sys.getenv("BASECAMP_TOKEN"))
url | character, URL location of the file |
---|---|
destdir | character, directory to save the file on local disk, Default: getwd() |
destfile | character, name of file to save on local disk, Default: basename(url) |
token | character, Basecamp Classic API token , Default: Sys.getenv("BASECAMP_TOKEN") |
numeric value of the http code