docs for uploadDir and downloadDir