---
name: "lfc-dli-client"
section: "1"
platform: "linux"
package: "lfc"
version: "1.10.0-2+b3"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/lfc-dli-client"
---

# lfc-dli-client(1)

lists the replicas for a given LFN, GUID via the DLI Interface

## NAME

lfc-dli-client - lists the replicas for a given LFN, GUID via the DLI Interface

## SYNOPSIS

**lfc-dli-client** \[ **--endpoint** *endpoint* \] \[ **-h** \|\|  **--help** \] \[ **-v** \|\| **--verbose** \] *logical file*

## DESCRIPTION

**lcg-dli-client** lists the replicas for a given LFN or GUID using the Data Location Interface (DLI) Web service for a LFC Server.

- *logical file*

  a URI which specifies the Logical File Name ( **lfn:** ) or the Grid Unique IDentifier ( **guid:** ).

- *endpoint*

  specifies a web service endpoint to connect to. This consists of a http URL with a hostname and an optional port number. An example is  **http://lfc-dteam.cern.ch:8085/**

## NOTE

The environment variable LFC\_HOST may be set instead of specifying an endpoint to use.  Also,  DLI\_PORT may be used if the DLI is running on a non-standard port.  If DLI\_PORT is not specified, the client defaults to port 8085.

## EXAMPLE

```
         lfc-dli-client -e http://lfc-dteam-test:8085/\
                lfn:/grid/dteam/dli-test
         sfn://lxb1533.cern.ch/storage//dteam/generated/2005-12-05/\
                filed88f9c0b-1fba-40a4-b20e-66866d757643
         srm://lxb0724.cern.ch/pnfs/cern.ch/data/dteam/generated/\
                2005-12-05/file9fd93cae-6400-4798-b4e9-2605bf31a7ff
         srm://lxb1921.cern.ch/dpm/cern.ch/home/dteam/generated/\
                2005-12-05/file73c497d2-deed-46c8-b747-cda06c7708cb
```

## EXIT STATUS

This program returns 0 if the operation was successful or \>0 if the operation failed.

## SEE ALSO

**lcg\_util(3),** **lcg-lr(3),** **lfc-dli(3)**
