Limit amount downloaded with wget


I’m using wget to download a 6mb text file to my Glitch project. I’d only like to download 300kbs of the text file. I’ve been reading the wget man page, but haven’t found an option for that. The closest option is to use -Q but I can’t seem to get it working.

Found a way to do this with cURL (use the --range flag) but I’m still curious if this is possible with wget.

1 Like