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
Uploads the specified file to a remote host using the specified URL.
Syntax
public static void CurlUploadFile(this ICakeContext context, FilePath filePath, Uri host)
Examples
CurlUploadFile("file.txt", new Uri("http://host/path"));
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The Cake context. |
filePath |
FilePath |
The path of the file to upload. |
host |
Uri |
The URL of the host to upload the file to. |
Return Value