https down error

pavepart
Posts: 9
Joined: Thu Jun 25, 2020 4:38 am

https down error

Postby pavepart » Mon Feb 15, 2021 3:37 am

I just download file via WIFI from server.
and then saved it micro sd card.
(Use https request example.)

The problem is, the file saved with some sever information(or server response.) as like this
LL.png
screen shoot
LL.png (29.27 KiB) Viewed 2077 times

How solve this problem?

I use this two fucntion from https request example.
esp_tls_conn_write();
esp_tls_conn_read();

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: https down error

Postby WiFive » Mon Feb 15, 2021 2:51 pm

You have to either parse http yourself or use esp_http_client API

Who is online

Users browsing this forum: Bing [Bot], ESP_Sprite and 282 guests