Cake.Curl

A cross-platform add-in for Cake that allows to transfer files to and from remote URLs using curl.

#addin nuget:?package=Cake.Curl&version=4.1.0

dotnet add package Cake.Curl --version 4.1.0

<PackageReference Include="Cake.Curl" Version="4.1.0" />

Aliases

Contains aliases related to curl.

In order to use the commands for this add-in, a version of curl will need to be installed on the machine where the Cake script is being executed. While curl is usually included in most Unix-based operating systems, you will likely have to install it yourself on Windows. The Windows version of curl is also part of Cygwin.

#addin Cake.Curl

General

CurlDownloadFile(Uri, CurlDownloadSettings) Downloads the file from the specified remote URL.
CurlDownloadFile(Uri) Downloads the file from the specified remote URL to the working directory.
CurlDownloadFiles(IEnumerable<Uri>, CurlDownloadSettings) Downloads the files from the specified remote URLs.
CurlDownloadFiles(IEnumerable<Uri>) Downloads the files from the specified remote URLs to the working directory.
CurlUploadFile(FilePath, Uri, CurlSettings) Uploads the specified file to a remote host using the specified URL.
CurlUploadFile(FilePath, Uri) Uploads the specified file to a remote host using the specified URL.