Liron Harel
Liron Harel

Reputation: 11247

Access downloaded image file in fileTransferUtility.BeginDownload

How do I access the downloaded file when downloading an S3 image using fileTransferUtility.BeginDownload?

In my async callback function I have an IAsyncResult paramter, but it doesn't provides any access to the downloadable image file from S3.

I am using the C#/.NET AWS SDK

Upvotes: 1

Views: 211

Answers (1)

Anthony Neace
Anthony Neace

Reputation: 26023

Your TransferUtilityDownloadRequest object should have a FilePath property. If your download is finishing successfully, then you should check the value of FilePath and access the file at that location upon receiving the callback.

Upvotes: 1

Related Questions