send directory method