Firmware Update Downloader with Resume

The firmware update process can be invoked remotely by sending an update package on the TCP port 5001.

For example by using netcat:

nc [-q 0] <target_ip> 5001 < <spkg_name.cwe>
Note
The default port is 5001 but it can be changed in the source code.
If the cwe file is not correct, a timeout of 900 seconds may occur when the firmware update process is expecting incoming data.
If no data are sent by the host to the firmware update process during more than 900 seconds, a timeout will occur and the download will fail.
If the download is interrupted before the end for any reason, you can resume it by relaunch the command.