Demystifying iControl REST Part 5: Transferring Files
iControl REST. It’s iControl SOAP’s baby, brother, introduced back in TMOS version 11.4 as an early access feature but released fully in version 11.5.
Several articles on basic usage have been wri...
Updated Aug 04, 2023
Version 5.0JRahm
Admin
Joined January 20, 2005
JRahm
Nov 23, 2016Admin
Yes, sorry for the delay. With the latest version of the sdk (2.0) I can successfully upload a file that I verified in the BIG-IP's /var/config/rest/downloads directory with remote authentication using tokens (i am testing on 12.1.) user_admin/letmein00 are only defined in my tacacs test server.
from f5.bigip import ManagmementRoot
mr = ManagementRoot('ltm3.test.local', 'user_admin', 'letmein00', token=True)
mr.shared.file_transfer.uploads.upload_file('/var/tmp/tempfile')