Download all uploads function not working