Forum Discussion
Satoshi_Toyosa1
Feb 18, 2019Employee
Demystifying iControl REST Part 5: Transferring Files describes the method to download a file from BIG-IP.
Because the API only allows you to download files under
/shared/images
, you need to make a copy of the target file there. Unfortunately, /mgmt/tm/sys/util
(or tmsh run sys util
) does not have a copy function (it does have mv
and rm
though), you need to use /mgmt/tm/sys/util/bash
to run the Unix cp
command before calling the download request.
I personally recommend the scp/sftp method Brad Parker mentioned. You do not need to worry about tidying the shared directory.