filesize -package:hackage-security -package:http-client -package:unix -package:pantry -package:directory -package:tar -is:exact -package:unix-compat -package:http-conduit -package:MissingH -package:stack package:curl

expected size of uploaded data.
Wider alternative of option giving upper bound of uploaded content (-1 => unknown.)
Limit the number of bytes you're willing to download.
Wider alternative for specifying max download size.