copy upload dir if exists

otherwise you can't even see the error because this code is running as a different thread