Summary
Downloads the specified resource over HTTP to the specified output path.
Syntax
[CakeMethodAlias]
[CakeAliasCategory("Download")]
public static void DownloadFile(this ICakeContext context, Uri address, FilePath outputPath, DownloadFileSettings settings)
Examples
var address = new Uri("http://www.example.org/index.html");
var outputPath = File("./index.html");
DownloadFile(address, outputPath, new DownloadFileSettings()
{
Username = "bob",
Password = "builder"
});
Attributes
Parameters
Return Value