we want to automate the firmware and asdm file upload to our ton of ASAs but I can't find out the specifics.
I want to mimic ASDM which does a https post to fqdn/admin/disk0/filename-on-flash.
I found out that 'Content-Length' in the http header has to be set else the asa rejects the request as bad request.
My problem is that the upload stalls some bytes before finishing and then the connection times out.
SCP would be an option too if it didn't take nearly 80% cpu and is extremly slow, about 35kbytes/sec.