I'm doing a project on ARM platform (Linux Kernel), where I need to code a firmware autoupdate task in C. In order to that, I need to download the manifest file from the FTP/HTTP server and from the manifest file, I'll have link to download the firmware package. I'm using libwebsockets
to achieve this task as this is very light weight and has low memory footprint.
Please help me on HOW to download the files and upload the files (as a client) using the libwebsockets library? I have gone through the examples and source code repo to understand how this library works, but this is pretty confusing to fathom the flow and API. Please help me, folks.
Thank you all in advance.