Http.request with progress


#1

I use http.request to download a large file, about 70MB, but I found the http callback invoked just when the download finished, I want to show the download progress.How can I do this?


#2

You can’t. At least not with http.request(). You could try the http module from LuaSocket or do file download manually using a pure socket solution.