Hi Andy, I don't understand the format for the DirList response from xrootd. The protocol spec says that the response has the following format: kXR_char streamid[2] kXR_int16 0 kXR_int32 dlen kXR_char dirent[dlen] • • • kXR_int32 0 But how can I manage to parse a response where all the dir entries are just juxtaposed? Fabrizio