Status code 201

Hello, everybody.

I’m trying to update my CPE’s firmware with the following command:

curl -i ‘http://localhost:7557/files/new_firmware.bin
–data-binary @“./new_firmware.bin”
–header “fileType: 1 Firmware Upgrade Image”
–header “oui: 552D8Y”
–header “productClass: CPE”
–header “version: 2.0”

I can guarantee that the information in header is correct. I’m receiving the following response and nothing happens with my CPE:

HTTP/1.1 100 Continue

HTTP/1.1 201 Created
GenieACS-Version: 1.2.0+20200901200336
Date: Tue, 07 Nov 2023 19:38:16 GMT
Connection: keep-alive
Transfer-Encoding: chunked

mbpaiva, you are registering the “file”, then you need to send the firmware manually to the cpe or create a preset/provision to send the firmware to the CPE.

After you register the file, nothing will run automaticaly, you need to configure this.

This problably can help: Massive Firmware Upgrade - #8 by lavira