creating remote directories