Forum Discussion
Unable to Upload File Through iControl REST Interface
Hello, were anyone able to upload an image to F5 .iso?
I tried the following but none worked. I think b/c file is so big even though I set Transfer-Encoding to Chucked.
curl -X POST -i -k -v -H 'Authorization: Basic xxxxxxx' -H 'Transfer-Encoding: chunked' -H 'Content-Range: 0-1689118719/1689118720' -H 'Content-Type: application/octet-stream' -H 'Expect: ' --data-binary '@/Users/123930/Downloads/BIGIP-13.0.0.0.0.1645.iso'
you will need to break your file into manageable chunks to transfer, you can't send it all at once. I have a python example in this article, and someone posted a powershell example in the comments.
 
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com