Forum Discussion
JG
Jul 22, 2019Cumulonimbus
Here's a Python script that worked for me, although it took a long time to download the file:
#!/usr/bin/python3
from f5.bigip import ManagementRoot
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
API_ROOT = ManagementRoot("xx.xx.xx.xx", "admin", "admin")
API_ROOT.shared.file_transfer.ucs_downloads.download_file('config.ucs', '/tmp/on_mypc_config.ucs')