implement progress for uploadDir and downloadDir