S3Aliases.

S3Download(ICakeContext, FilePath, string, DownloadSettings) Method

Summary

Downloads the content from Amazon S3 and writes it to the specified file.
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Aliases

Syntax

public static Task S3Download(this ICakeContext context, FilePath filePath, string key, DownloadSettings settings)

Attributes

Type Description
AsyncStateMachineAttribute
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
filePath FilePath The file path of the file to upload.
key string The key under which the Amazon S3 object is stored.
settings DownloadSettings The DownloadSettings required to download from Amazon S3.

Return Value

Type Description
Task