reimplemented server directory import from MediaAttach