title: Getting file url after upload amazon s3
body: <p>I need to get file url after upload the file to amazons3 server.
  Here is my upload code.
  How to return amazons3 path ?</p>
  
  <pre><code>public static bool UploadToS3(string bucketName, string bucketFilePath, Byte[] localPath)
      {
          var client = Amazon.AWSClientFactory.CreateAmazonS3Client(Config.EmailServer.AwsAccessKey, Config.EmailServer.AwsSecretKey, Amazon.RegionEndpoint.EUWest1);
  
          PutObjectRequest request = new PutObjectRequest()
          {
              BucketName = bucketName,
              Key = bucketFilePath,
              InputStream = new MemoryStream(localPath),
              AutoCloseStream = true,
              CannedACL = S3CannedACL.PublicRead,
              StorageClass = S3StorageClass.ReducedRedundancy                
          };
  
          PutObjectResponse response = client.PutObject(request);
          return true;
      }
  </code></pre>