Add script to find max upload size (#5011).