CurlAliases.

CurlDownloadFile(ICakeContext, Uri) Method

Summary

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

Syntax

public static void CurlDownloadFile(this ICakeContext context, Uri host)

Examples

CurlDownloadFile(new Uri("http://host/file"));

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The Cake context.
host Uri The URL of the file to download.

Return Value

Type Description
void