Asking for help!!! "OTA using web server"

tasaf1
Posts: 2
Joined: Fri Mar 15, 2019 8:54 am

Asking for help!!! "OTA using web server"

Postby tasaf1 » Fri Mar 15, 2019 9:15 am

Dear,
I use web server to send "*.bin" file, and use "post handler" to receive data.

Code: Select all

...
$.ajax({\
url: '/echo',
type: 'POST',
data: data
...

Code: Select all

httpd_uri_t echo = {
    .uri       = "/echo",
    .method    = HTTP_POST,
    .handler   = echo_post_handler,
    .user_ctx  = NULL
};
The app runs well when the size of bin file lower 200kb. But when i upload a larger file (700kb), "post handler" receives about 134 kb and stop, display "httpd_sock_err: error in send : 104"
Could someone help me please! Thanks so much!

gugnafurku
Posts: 1
Joined: Mon Apr 08, 2019 4:14 am

Re: Asking for help!!! "OTA using web server"

Postby gugnafurku » Mon Apr 08, 2019 4:19 am

Hi buddy, just go the file manager and increase the upload limit and that should solve the issue. As the size is decreased to minimum by default so increasing makes upload larger database/files smoother.

tasaf1
Posts: 2
Joined: Fri Mar 15, 2019 8:54 am

Re: Asking for help!!! "OTA using web server"

Postby tasaf1 » Wed Apr 10, 2019 2:01 am

Where is the "file manager"? Can you help me!!!

Return to “General Discussion”

Who is online

Users browsing this forum: Bing [Bot], markkuk, sslama and 18 guests