Hi Matevz, Look at xrdcpy as it includes full checksum support (it's the next pre-release of xrdcp). This may help you to automatically verify checksums. Of course, you need to enable the server for it as well. Andy On Fri, 5 Oct 2012, Matevz Tadel wrote: > Hi Lukasz, > > On 10/05/12 03:03, Lukasz Janyst wrote: >> Hi Matevz, >> >> that's the answer the client got from the server. The checksum checking is >> done >> by sending kXR_query request and the protocol spec says that these cannot >> be >> redirected (this bahavior should probably be changed). I would try doing >> locate >> first and then sending the checksum query to a data server. > > Thanks! I have normal XrdClient open to the file -- we're getting file > fragments from another instance to patch-up corrupt files at ucsd, that's why > we would also like to get the checksum from the remote server to cross-check > everything is really ok on our side. So I assume I can do: > 1. client->GetCurrentUrl(); > 2. use this url to fire up XrdClientAdmin. > > Of course, as Andy says, we'll hit the wall in the next step as we (cms) > don't have checksums enabled on our servers. :) > > Cheers, > Matevz > >> Cheers, >> >> Lukasz >> >> On Thursday, October 04, 2012 06:45:42 PM Matevz Tadel wrote: >> >> > Hi, >> >> > >> >> > How can I get a checksum from a server? I tried using XrdClientAdmin but >> I >> >> > get this printed out when calling admin->GetChecksum(): >> >> > >> >> > 121004 18:42:10 13529 Xrd: CheckErrorStatus: Server [xrootd.unl.edu] >> >> > declared: query chksum is not supported(error code: 3013) >> >> > >> >> > so it seems this is a dead end. Any other options? >> >> > >> >> > Matevz >> >> > >> >> > ######################################################################## >> >> > Use REPLY-ALL to reply to list >> >> > >> >> > To unsubscribe from the XROOTD-DEV list, click the following link: >> >> > https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1 >> > > ######################################################################## > Use REPLY-ALL to reply to list > > To unsubscribe from the XROOTD-DEV list, click the following link: > https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1 > ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the XROOTD-DEV list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1