1EDG-GRIDFTP-RMDIR(1) European DataGrid EDG-GRIDFTP-RMDIR(1)
2
3
4
6 edg-gridftp-rmdir - Remove a directory on a GridFTP server.
7
9 edg-gridftp-rmdir [--proxy=proxy] [--timeout=timeout] URL [URL ...]
10
11 edg-gridftp-rmdir --usage
12
13 edg-gridftp-rmdir --help
14
16 edg-gridftp-rmdir removes the directory from a GridFTP server. This
17 command will return a status of 0 if the directory was successfully
18 removed. In all other cases, it will return a non-zero value and print
19 an error message to the standard error.
20
21 If more than one URL is given, then a successful return will only occur
22 if all of the URLs were successfully deleted. The processing will stop
23 with the first failure.
24
26 --proxy=proxy
27 Set the proxy to use for the GridFTP operation. If this is unset,
28 then the underlying GridFTP library will try to find the proxy in
29 the usual locations. This is useful if the proxy is in a non-
30 standard location, or the caller is a daemon which must act on the
31 behalf of a user.
32
33 --timeout=timeout
34 Set the overall time (in seconds) within which all the directory
35 removals must complete. If no timeout is specified a default 120
36 second timeout will be used. A negative or zero timeout will
37 report a timeout error before attempting to contact any of the FTP
38 servers. If a timeout error does happen then some of the
39 directories may already have been removed.
40
41 --usage
42 Short description of the usage of this command is given.
43
44 --help
45 A description of the usage of this command and information on all
46 of the options is given.
47
48 URL URLs of the following formats are accepted:
49
50 ftp://ftp.server.org//absolute/file/name
51 gsiftp://gridftp.server.org/~/home/relative/name.txt
52 gridftp://gridftp.server.org/home/relative/name.txt
53
54 Note: for the URLs without a tilde, the server configuration
55 determines whether the filename is absolute or relative. On
56 servers which do not restrict users to their home areas, the tilde
57 notation will not work.
58
60 Charles Loomis (charles.loomis@cern.ch). Later modifications by CERN
61 IT-DM/SMD.
62
64 Copyright (c) 2002 by Charles A. Loomis, Jr. and Le Centre National de
65 la Recherche Scientifique (CNRS). All rights reserved.
66
67 The software was distributed with and is covered by the European
68 DataGrid License. A copy of this license can be found in the included
69 LICENSE file. This license can also be obtained from
70 http://www.eu-datagrid.org/license.
71
72 The underlying GridFTP library is part of the Globus Toolkit (TM) and
73 is covered by the Globus Toolkit Public License. See
74 http://www.globus.org for more information.
75
76
77
781.2.9.2 2019-07-24 EDG-GRIDFTP-RMDIR(1)