Upload boolean bug fixed. Using exception rather than boolean check.