boto - Download from Glacier -


i able upload file glacier vault. how download file?

import boto access_key_id = "abc" secret_access_key = "pqr"  glacier_connection = boto.connect_glacier(aws_access_key_id=access_key_id, aws_secret_access_key=secret_access_key)  vault = glacier_connection.create_vault("backup") archive_id=vault.upload_archive("aws.sh") 

i expected following code download file glacier. not work.

retrieve_job=vault.retrieve_archive(archive_id) if retrieve_job.completed:     retrieve_job.download_to_file("test.pl") 


Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -