AT+HTTPCPOST get ERROR when transmit 180k file size

ephone0
Posts: 20
Joined: Fri Oct 14, 2022 3:20 am

AT+HTTPCPOST get ERROR when transmit 180k file size

Postby ephone0 » Fri Sep 27, 2024 1:14 pm

Hi All:
I got ERROR response when I sent a command to ESP32C3 AT module as below
AT+HTTPCPOST=https://www.xxxx.xxxx/projects/xxxxx/upload_file.php, 184527,2,"Content-Type:multipart/form-data; boundary=\"||==ThE bOuNdArY==||\"","MIME-Version: 1.0"

I want to send a post with 184527 bytes data size, but I got ERROR when the data size is 184527, so I reduced the data size to less than 110k and I got success after reducing the data size.

Is it a RAM size issue?
I tried to use AT+SYSRAM? to get RAM usage as below.
170408,121296

How can I solve this problem of sending large data-size file?
Thanks
ephone

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: AT+HTTPCPOST get ERROR when transmit 180k file size

Postby esp-at » Wed Oct 09, 2024 11:55 am


Who is online

Users browsing this forum: No registered users and 12 guests