upload directory obj and obj-test