Class TransferUtilityConfig
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
Remarks
A value less than or equal to 0 will be silently ignored.
MinSizeBeforePartUpload
Gets or sets the minimum part size for upload parts in bytes. The default is 16 MB. Decreasing the minimum part size causes multipart uploads to be split into a larger number of smaller parts. Setting this value too low has a negative effect on transfer speeds, causing extra latency and network communication for each part.
public long MinSizeBeforePartUpload { get; set; }
Property Value
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
Remarks
A value less than or equal to 0 will be silently ignored.