CurlAliases.

CurlDownloadFiles(ICakeContext, IEnumerable<Uri>) Method

Summary

Downloads the files from the specified remote URLs to the working directory.
Assembly
Cake.Curl.dll
Namespace
Cake.Curl
Containing Type
CurlAliases

Syntax

public static void CurlDownloadFiles(this ICakeContext context, IEnumerable<Uri> hosts)

Examples

CurlDownloadFiles(new Uri[]
{
    new Uri("http://host/file"),
    new Uri("http://host/anotherfile")
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
hosts IEnumerable<Uri> The URLs of the files to download.

Return Value

Type Description
void