This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Curl.
Summary
Downloads the files from the specified remote URLs to the working directory.
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