Hello
I want to update esp from gitlab as HTTP Update. The problem I have is that it cannot read the bin_version.txt file from Gitlab and compare it with the firmwarever value.
And this line that should put the value of 1.6.5 in the payload does not actually work.
On the GET line you don't provide a full URL but the local path only.
BTW, in the URL you specify http but you connect to the HTTPS port.
It seems that the request is sent, but the server does not send the characters correctly. How can I send the sent data in utf-8 format?
Did you make the change I suggested in post #2? If so, please post the resulting complete code.
As I wrote, the request as you're creating it isn't correct and will be replied with an error.
It's up to the server to choose the encoding of the data to be sent. Usually the server just sends the stored file and doesn't change encodings.
The problem was not solved. I gave up on Gitlab and started an ftp server. The problem with ftp server is solved.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.