DownloadAndUnzip: Download and unzip a file

Description Usage Arguments Details

Description

Downloads a zipfile from a URL and unzips it to a target directory.

Usage

1
DownloadAndUnzip(url, destfile, exdir, rmzip = T)

Arguments

url

character url path

destfile

character, filepath of output zipfile

exdir

character, the directory to which files are extracted

rmzip

logical, whether or not to remove zipfile after extraction. Defaults to TRUE.

Details

Runs as a subroutine of DownloadSingleDEM


ECCC-MSC/Basin-Delineation documentation built on June 9, 2019, 7:29 p.m.