Demystifying iControl REST Part 5: Transferring Files
Updated Aug 04, 2023
Version 5.0Was this article helpful?
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')