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
Maverick_80689
Mar 17, 2016Nimbostratus
Thanks Jason, that is very useful. But it looks it didnt upload my files although python doesn't throw any errors.
And I tried it on both version 11.5 and 11.6, do not have a version 12.0 device.