Page 1 of 1

AT+HTTPCPOST get ERROR when transmit 180k file size

Posted: Fri Sep 27, 2024 1:14 pm
by ephone0
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