This doesn’t work because by the time you check the size you already downloaded it 🤣 some services will pass a bit of info but that’s also not reliable
Login to reply
Replies (1)
You can HTTP HEAD it and if not supported download a specific maximum size and then abort if bigger.
I would not want to rely on complicated setups scaling it for me, and i don't think these things belong anywhere else than clients.