download.new.file: Download a new version of a file

View source: R/tiny_helpers.R

download.new.fileR Documentation

Download a new version of a file

Description

Uses 'curl -z' to check that the online file has been updated more recently than the timestamp on the destination file

Usage

download.new.file(url, fn)

Arguments

url

the file to be downloaded

fn

the filename where it will go. Won't download unless the online file has been updated more recently than this file has been modified.


bbcuffer/rcutils documentation built on Nov. 10, 2023, 12:08 p.m.