1EDG-GRIDFTP-EXISTS(1)          European DataGrid         EDG-GRIDFTP-EXISTS(1)
2
3
4

NAME

6       edg-gridftp-exists - Determine if file/directory exists on GridFTP
7       server.
8

SYNOPSIS

10       edg-gridftp-exists [--proxy=proxy] [--timeout=timeout] [--noauth] URL
11       [URL ...]
12
13       edg-gridftp-exists --usage
14
15       edg-gridftp-exists --help
16

DESCRIPTION

18       edg-gridftp-exists determines if the file or directory associated with
19       the given URL exists.  This command will return a status of 0 if the
20       file or directory exists.  In all other cases, it will return a non-
21       zero value and print an error message to the standard error.
22
23       If more than one URL is given, then a successful return will only occur
24       if all of the URLs exist.  The processing will stop with the first
25       failure.
26

OPTIONS

28       --proxy=proxy
29           Set the proxy to use for the GridFTP operation.  If this is unset,
30           then the underlying GridFTP library will try to find the proxy in
31           the usual locations.  This is useful if the proxy is in a non-
32           standard location, or the caller is a daemon which must act on the
33           behalf of a user.
34
35       --timeout=timeout
36           Set the overall time (in seconds) within which all the checks must
37           complete.  If no timeout is specified a default 120 second timeout
38           will be used. A negative or zero timeout will report a timeout
39           error before attempting to contact any of the FTP servers.
40
41       --noauth
42           If this flag is set, then the authentication of the data channel
43           will be turned off.  It is on by default.
44
45       --usage
46           Short description of the usage of this command is given.
47
48       --help
49           A description of the usage of this command and information on all
50           of the options is given.
51
52       URL URLs of the following formats are accepted:
53
54           ftp://ftp.server.org//absolute/file/name
55           gsiftp://gridftp.server.org/~/home/relative/name.txt
56           gridftp://gridftp.server.org/home/relative/name.txt
57
58           Note: for the URLs without a tilde, the server configuration
59           determines whether the filename is absolute or relative.  On
60           servers which do not restrict users to their home areas, the tilde
61           notation will not work.
62

AUTHOR

64       Charles Loomis (charles.loomis@cern.ch). Later modifications by CERN
65       IT-DM/SMD.
66

LICENSE

68       Copyright (c) 2002 by Charles A. Loomis, Jr. and Le Centre National de
69       la Recherche Scientifique (CNRS).  All rights reserved.
70
71       The software was distributed with and is covered by the European
72       DataGrid License.  A copy of this license can be found in the included
73       LICENSE file.  This license can also be obtained from
74       http://www.eu-datagrid.org/license.
75
76       The underlying GridFTP library is part of the Globus Toolkit (TM) and
77       is covered by the Globus Toolkit Public License.  See
78       http://www.globus.org for more information.
79
80
81
821.2.9.2                           2008-02-25             EDG-GRIDFTP-EXISTS(1)
Impressum