Table of Contents

Class TransferUtilityDownloadRequest

Namespace
Amazon.S3.Transfer
Assembly
AWSSDK.S3.dll

Contains all the parameters that can be set when making a this request with the TransferUtility method.

public class TransferUtilityDownloadRequest : BaseDownloadRequest
Inheritance
TransferUtilityDownloadRequest
Inherited Members

Constructors

TransferUtilityDownloadRequest()

public TransferUtilityDownloadRequest()

Properties

FilePath

Get or sets the file path location of where the downloaded Amazon S3 object will be written to.

public string FilePath { get; set; }

Property Value

string

The file path location of where the downloaded Amazon S3 object will be written to.

Events

WriteObjectProgressEvent

The event for WriteObjectProgressEvent notifications. All subscribers will be notified when a new progress event is raised.

The WriteObjectProgressEvent is fired as data is downloaded from S3. The delegates attached to the event will be passed information detailing how much data has been downloaded as well as how much will be downloaded.

public event EventHandler<WriteObjectProgressArgs> WriteObjectProgressEvent

Event Type

EventHandler<WriteObjectProgressArgs>

Remarks

Subscribe to this event if you want to receive WriteObjectProgressEvent notifications. Here is how:

  1. Define a method with a signature similar to this one:
private void displayProgress(object sender, WriteObjectProgressArgs args)
{
    Console.WriteLine(args);
}
  1. Add this method to the WriteObjectProgressEvent delegate's invocation list
TransferUtilityDownloadRequest request = new TransferUtilityDownloadRequest();
request.WriteObjectProgressEvent += displayProgress;