SRM/GridFTP reference ===================== Derek Feichtinger This assumes that the environment settings of SEenv.sh have been sourced GRIDFTP ======= Copying a file $> globus-url-copy $GSIFTP/cms/local_tests/testfile.tst file:/tmp/testfile.tst use the -p flag to choose number of parallel streams third party copies (copying between 2 SEs) are theoretically possible, but do not work between all SEs $> globus-url-copy $GSIFTP/cms/local_tests/testfile.tst file:/tmp/testfile.tst Debugging a transfer globus-url-copy -dbg $GSIFTP/cms/local_tests/testfile.tst file:/tmp/testfile.tst Listing a directory and file sizes: $> glite-gridftp-ls -l $GSIFTP/cms/local_tests (Note, that on some SEs files > 2GB are not correctly displayed with this command) Removing a file: glite-gridftp-rm $GSIFTP/cms/local_tests/testfile.tst SRM === Copying a file $> srmcp [-debug] $SRM/cms/local_tests/testfile.tst file:////tmp/testfile.tst Third party copies (SE to SE) are possible: $> srmcp FZKSRM/pnfs/gridka.de/cms/disk-only/phedex_monarctest/FZK-DISK2/LoadTest07_FZK_93 \ $SRM/cms/local_tests/LoadTest07_FZK_93 However, it may need -pushmode=true to succeed. Not all SEs can "pull" a file from another SE (in particular this is true for DPM). List a file's / a directory's filesystem metadata $> srm-get-metadata $SRM/cms/local_tests/testfile.tst Note: Gives correct filesize for > 2 GB Delete a file: $> srm-advisory-delete [-debug] $SRM/cms/local_tests/testfile.tst