get upload dir from properties