HewlettPackard / oneview-python

Python library for HPE OneView
https://github.com/HewlettPackard/oneview-python/wiki
Apache License 2.0
28 stars 27 forks source link

File size is zero when downloading appliance backup #18

Closed ghost closed 4 years ago

ghost commented 4 years ago

The GET call to download a backup returns 302 which is not handled by download_to_stream method in connections module. This results in zero size backup files.

Used the script found in the examples backups.py

response = oneview_client.backups.download(backup_details['downloadUri'], filename)
ghost commented 4 years ago

closing the issue as PR #19 is merged