Print

Print


Hi,

  I just had a quick check, and I can reproduce it. Towards a server it 
creates a non existing path, towards the local fs this is not supported 
in the code.
  I'll fix it n a few days, but then you'll have to upgrade. Otherwise 
you could simply create the destination dir from your scripts before 
invoking xrdcp.

Fabrizio


Artem Trunov ha scritto:
> Hi, Wen!
> 
> I think it's reasinable that the tool doesn't create the local dir for
> you. Note that when the destination is xrootd server, it WILL create
> the target dir for you. But error code should be non zero, here I
> agree with you.
> 
> cheers
> Artem
> 
> On Sat, Feb 20, 2010 at 8:29 PM, wen guan <[log in to unmask]> wrote:
>> Hi,
>>
>>   I am using the xrootd version below.  I found xrdcp has some
>> problem. In the command below, xrdcp failed to copy the file because
>> the destination directory doesn't exist. But it return 0 which makes
>> me thought it successed.
>> http://xrootd.slac.stanford.edu/download/20091028-1003
>>
>> (*)
>> [root@higgs15 XrootdMover]# xrdcp
>> root://atlas-bkp2.cs.wisc.edu:1094//atlas/xrootd/atlasdumpdisk/bnl/dumper_15.6.1_tag13_data09_ESD_bnl/data09_2TeV.00142308.physics_L1Calo.merge.DNTUP_COLLCAND.r988_p62_tid101808_00/NTUP/data09_2TeV.00142308.physics_L1Calo.merge.DNTUP_COLLCAND.r988_p62_tid101808_00.1370.root
>> //atlas/xrootd/atlasdumpdisk/bnl/dumper_15.6.1_tag13_data09_ESD_bnl/data09_2TeV.00142308.physics_L1Calo.merge.DNTUP_COLLCAND.r988_p62_tid101808_00/NTUP/data09_2TeV.00142308.physics_L1Calo.merge.DNTUP_COLLCAND.r988_p62_tid101808_00.1370.root
>> Error No such file or directory accessing path for
>> //atlas/xrootd/atlasdumpdisk/bnl/dumper_15.6.1_tag13_data09_ESD_bnl/data09_2TeV.00142308.physics_L1Calo.merge.DNTUP_COLLCAND.r988_p62_tid101808_00/NTUP/data09_2TeV.00142308.physics_L1Calo.merge.DNTUP_COLLCAND.r988_p62_tid101808_00.1370.root
>> [root@higgs15 XrootdMover]# echo $?
>> 0
>>
>>
>> Wen
>>