# Should I use bestman2 or dcache CLIs (srmping, srmls, etc..)

I am fairly new to using SRM, and I am wondering if I should be using srm CLI tools (srmping, srmls, srmcp, etc..) provided by dcache, or bestman2 counter parts (srm-ping, srm-ls).

I used to think that either tools should work fine against either dcache, and bestman2 servers, but recently I am seeing this is not the case..

For example, following works fine..

> srm-ping srm://cms-se.sdfarm.kr:8443/srm/v2/server
SRM-PING: Thu Jul 17 21:32:09 UTC 2014  Calling SrmPing Request...
versionInfo=v2.3.0


But not following..

> srmping srm://cms-se.sdfarm.kr:8443/srm/v2/server
ERROR org.dcache.srm.client.SRMClientV2 - srmPing : try # 0 failed with error The AXIS engine could not find a target service to invoke!  targetService is managerv2


If I don't know which endpoints are dcache v.s bestman2, and I want my script to be generic enough, should I be using bestman2 clients instead of dcache counterparts? Or is this more complicated than that?

Thanks!