title: s3 File Uploading is so slow C#
body: <p>I'm using the transferUtility class to upload files into S3 using input stream in .NET. The problem is, uploading a file of 4MB takes around a minute. I tried both transferUtility.Upload and S3Client.PutObject and the upload time didn't seem to change. The code is below:</p>
  
  <pre><code>WebRequest.DefaultWebProxy = null;
  
  
  this.S3Client = new Amazon.S3.AmazonS3Client(accessKeyId, secretAccessKey, endPoint);
  
  this.transferUtility = new TransferUtility(this.S3Client);
  
  Amazon.S3.Transfer.TransferUtilityUploadRequest transferRequest = new TransferUtilityUploadRequest();
  
  transferRequest.BucketName = s3Bucket;
  
  transferRequest.CannedACL = Amazon.S3.S3CannedACL.PublicRead;
  
  
  transferRequest.InputStream = (Stream)fileStream;
  
  transferRequest.Key = newFileName;
  
  transferRequest.Headers.Expires = new DateTime(2020, 1, 1);
  
  this.transferUtility.Upload(transferRequest);
  </code></pre>
  
  <p>Any help would be appreciated.</p>
  
  <p>Thank you, </p>