Skip to contents

Propose a name for a downloaded file based on URL

Usage

gwa_get_filename(url, path = gwa_get_dir(), extension = ".tif")

Arguments

url

API-url for download

path

optional path to a directory for saving the dounloaded file

extension

file extension

Value

filename with path if specified