def download_file(file_key, file_path, bucket_name):
# items_log.info("Downloading file: %s" % file_key)
k = Key(get_bucket(get_connection(), bucket_name))
k.key = file_key
k.get_contents_to_filename(file_path)
# items_log.info("Downloading complete!")
评论列表
文章目录