Table of Contents

Class TransferUtilityConfig

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

Provides configuration options for how TransferUtility processes requests.

The best configuration settings depend on network configuration, latency and bandwidth. The default configuration settings are suitable for most applications, but this class enables developers to experiment with different configurations and tune transfer manager performance.

public class TransferUtilityConfig
Inheritance
TransferUtilityConfig
Inherited Members

Constructors

TransferUtilityConfig()

Default constructor.

public TransferUtilityConfig()

Properties

ConcurrentServiceRequests

This property determines how many active threads or the number of concurrent asynchronous web requests will be used to upload/download the file . The default value is 10.

public int ConcurrentServiceRequests { get; set; }

Property Value

int

Remarks

A value less than or equal to 0 will be silently ignored.

MinSizeBeforePartUpload

Gets or sets the minimum size required (in bytes) to enable multi-part upload. The default is 16 MB. If the file size is greater than or equal to MinSizeBeforePartUpload, multi-part upload will be used.

public long MinSizeBeforePartUpload { get; set; }

Property Value

long

NumberOfUploadThreads

Gets or sets the number of executing threads. This property determines how many active threads will be used to upload the file. The default value is 10 threads.

[Obsolete("This property has been deprecated, use TransferUtilityConfig.ConcurrentServiceRequests instead.")]
public int NumberOfUploadThreads { get; set; }

Property Value

int

Remarks

A value less than or equal to 0 will be silently ignored.