Amazon.Glacier.Transfer.ArchiveTransferManager.DownloadAsync C# (CSharp) Метод

DownloadAsync() публичный Метод

Downloads an archive from Amazon Glacier from the specified vault for the current user's account. Saves the archive to the specified file.

This method creates an Amazon SNS topic, and an Amazon SQS queue that is subscribed to that topic. It then initiates the archive retrieval job and polls the queue for the archive to be available. This polling takes about 4 hours. Once the archive is available, download will begin.

Additional options can be set using the UploadDirectoryOptions object. For example, you can set the FilesTransferProgress property to a delegate to track progress.

public DownloadAsync ( string vaultName, string archiveId, string filePath, DownloadOptions options ) : System.Threading.Task
vaultName string The name of the vault to download the archive from.
archiveId string The unique ID of the archive to download.
filePath string The file path to save the archive at.
options DownloadOptions Additional options that can be used for the download.
Результат System.Threading.Task
        public Task DownloadAsync(string vaultName, string archiveId, string filePath, DownloadOptions options)
        {
            var command = new DownloadFileCommand(this, vaultName, archiveId, filePath, options);
            return command.ExecuteAsync();
        }
        #endregion

Same methods

ArchiveTransferManager::DownloadAsync ( string vaultName, string archiveId, string filePath ) : System.Threading.Task