MAiN
 
  BAcK to Session
 
  BAcK to Curriculum
 
:: Data services help

Here you find an example of copy and registering a file from an user home directory on a UI to a SE.

edg-rm -v --vo=gilda copyAndRegisterFile
file://`pwd`/filetopublish -l lfn:aliroot -d grid009.ct.infn.it
edg-replica-manager starting..
Issuing command : copyAndRegisterFile
Parameters:
file://`pwd`/filetopublish -l lfn:aliroot -d grid009.ct.infn.it
Destination is a host : //grid009.ct.infn.it
Call replica manager copyAndRegister function
Filesize to copy (MB) = 0.0013074875
copy : From : `pwd`/filetopublish
copy : To :
gsiftp://grid009.ct.infn.it/flatfiles/gilda/generated/2004-04-27/file5cfd8e25-98
3c-11d8-8398-c7ded69986eb
copy : Protocol : gsiftp
copy : # streams: 1
Transfer took: 849 ms.
Copy successful to : File name =
gsiftp://grid009.ct.infn.it/flatfiles/gilda/generated/2004-04-27/file5cfd8e25-98
3c-11d8-8398-c7ded69986eb
File size = 1371
File Owner = -
Associated SE:
Created new entry for surl with logical name lfn:aliroot
guid:61cf1366-983c-11d8-8398-c7ded69986eb
Copy and Registration successful.