download_single_file {ENCODExplorer} | R Documentation

## download_single_file Downloads a single file and checks if md5 checksums match.

### Description

download_single_file Downloads a single file and checks if md5 checksums match.

### Usage

    download_single_file(file_url, file_md5, dir = ".", experiment_name = NULL,
      force = TRUE)

### Arguments

`file_url` | A `character` giving the URL of the file to be downloaded.
`file_md5` | A `character` giving the expected md5 checksum hash of the file to be downloaded.
`dir` | The directory where the downloaded file should be saved. Default: "."
`experiment_name` | An optional experiment name to be displayed with the status reports.
`force` | `boolean` indicating if existing files should be downloaded again. Default : TRUE

### Value

A `character` with the name of the downloaded file.

[Package ENCODExplorer version 2.6.0 Index]