diff --git a/R/base.R b/R/base.R index 1526a39..f1d25d3 100644 --- a/R/base.R +++ b/R/base.R @@ -129,7 +129,7 @@ pluto_download <- function(url_path, dest_filename, api_token=NULL) { if (!is.null(resp_obj$url)){ - utils::download.file(resp_obj$url, destfile = dest_filename, quiet = T) + utils::download.file(resp_obj$url, destfile = dest_filename, quiet = T, mode = "wb") } else{ stop('Download response did not contain a valid signed URL')