Download a BIG-IP UCS archive with "curl".
Problem this snippet solves: Download a BIG-IP UCS archive using the program "curl" and verifies the output file's signature. Tested on 13.1.1. How to use this snippet: Edit the code to input...
Published Aug 02, 2019
Version 1.0JG
Cumulonimbus
Joined July 09, 2012
JG
Cumulonimbus
Joined July 09, 2012
Noel_McKenna
Apr 24, 2020Nimbostratus
Great script.
I noticed that the UCS file is generated correctly in
/var/local/ucs/$ARCHIVE_NAME_ON_SERVER'
however the transfer appears to be from
/mgmt/shared/file-transfer/ucs-downloads/$ARCHIVE_NAME_ON_SERVER"
How is it moved?
Also is
END_BYTE=$(($START_BYTE + $CONTENT_LENGTH))
supposed to be
END_BYTE=$((START_BYTE + CONTENT_LENGTH))