No need to set dir() method when uploading.