ESPWebServer icon indicating copy to clipboard operation
ESPWebServer copied to clipboard

does this webserver support resume in downloads?

Open foice opened this issue 4 years ago • 0 comments

I have a ESP8266WebServer running on port 80 of my ESP8266 board. It does a fine job serving static HTML pages. However it gives me trouble to serve text files larger than few Kb hosted on the ESP8266 filesystem.

I can access just fine the small files, but the larger ones get truncated. I have tried to use wget, curl or aria2c with resume, but it seems not supported from this WebServer

  -> [HttpResponse.cc:81] errorCode=8 Invalid range header. Request: 16384-359256/359257, Response: 0-359256/359257

or

curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.

Is there any way I can run the webserver with resume enabled? or any tip to download these "large" files from the ESP8266?

foice avatar May 30 '21 13:05 foice