Last modified 13 years ago Last modified on 11/06/07 12:39:05

Using the GridFTP clients with dCache

D-Cache provides a GSI FTP door, which is in effect a GSI authenticated FTP access point to D-Cache

Listing a directory

To list the content of a D-cache Directory GSI FTP can be used

edg-gridftp-ls gsi

Checking a file exists

To check the existence of a file with GSI FTP.

edg-gridftp-exists gsi
echo $?
edg-gridftp-exists gsi
error the server sent an error response: 451 451 /pnfs/  not found
echo $?

Please note the echo $? show the return code of the last run application. The error message returned from the client this should not be scripted against as its one of many possible errors.

Deleting files

To delete files with GSI FTP use the following command.

edg-gridftp-rm gsi

Which deletes the file filler_test20050811160948926780000 from the "dteam" VO on the host within the domain

Copying files

To copy files to and from dCache with the gridftp protocol follows the syntax src destination.