f5.file.upload

f5.file.upload#

Uploads a file to the F5.
Usage: f5.file.upload <upload endpoint> <file>

Endpoints:
Description           Method  URI (endpoint)                                Path on the F5
Download a File       GET     /mgmt/cm/autodeploy/software-image-downloads  /shared/images/
Upload an Image File  POST    /mgmt/cm/autodeploy/software-image-uploads    /shared/images/
Upload a File         POST    /mgmt/shared/file-transfer/uploads            /var/config/rest/downloads/
Download a QKView     GET     /mgmt/cm/autodeploy/qkview-downloads          /var/tmp/qkviews
Download a UCS        GET     /mgmt/shared/file-transfer/ucs-downloads      /var/local/ucs/
Upload ASM Policy     POST    /mgmt/tm/asm/file-transfer/uploads            /var/ts/var/rest/
Download ASM Policy   GET     /mgmt/tm/asm/file-transfer/downloads          /var/ts/var/rest/

References:
    - https://my.f5.com/manage/s/article/K41763344
    - https://community.f5.com/t5/technical-articles/demystifying-icontrol-rest-part-5-transferring-files/ta-p/286689