File Upload via iControl REST
Code : def _upload(host, creds, fp):
chunk_size = 512 * 1024
headers = {
'Content-Type': 'application/octet-stream'
}
fileobj = open(fp, 'rb')
filename = os.path.basenam...
Published Nov 05, 2015
Version 1.0JRahm
Admin
Joined January 20, 2005
JRahm
Admin
Joined January 20, 2005
JRahm
Mar 17, 2016Admin
@Maverick, /shared/images for images, /var/config/rest/downloads for others. The writeup for this has details: https://devcentral.f5.com/s/articles/demystifying-icontrol-rest-part-5-transferring-files