1EDG-GRIDFTP-RM(1) European DataGrid EDG-GRIDFTP-RM(1)
2
3
4
6 edg-gridftp-rm - Remove a file on a GridFTP server.
7
9 edg-gridftp-rm [--proxy=proxy] [--timeout=timeout] URL [URL ...]
10
11 edg-gridftp-rm --usage
12
13 edg-gridftp-rm --help
14
16 edg-gridftp-rm removes the file from a GridFTP server. This command
17 will return a status of 0 if the file was successfully removed. In all
18 other cases, it will return a non-zero value and print an error message
19 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
25 NOTE: This command interacts directly with a GridFTP server. If the
26 files on the server via an external database, use of this command may
27 cause a loss of coherency in the database.
28
30 --proxy=proxy
31 Set the proxy to use for the GridFTP operation. If this is unset,
32 then the underlying GridFTP library will try to find the proxy in
33 the usual locations. This is useful if the proxy is in a non-
34 standard location, or the caller is a daemon which must act on the
35 behalf of a user.
36
37 --timeout=timeout
38 Set the overall time (in seconds) within which all the file
39 removals must complete. If no timeout is specified a default 120
40 second timeout will be used. A negative or zero timeout will report
41 a timeout error before attempting to contact any of the FTP
42 servers. If a timeout error does happen some of the specified files
43 may already have been removed.
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.
60
62 Charles Loomis (charles.loomis@cern.ch). Later modifications by CERN
63 IT-DM/SMD.
64
66 Copyright (c) 2002 by Charles A. Loomis, Jr. and Le Centre National de
67 la Recherche Scientifique (CNRS). All rights reserved.
68
69 The software was distributed with and is covered by the European
70 DataGrid License. A copy of this license can be found in the included
71 LICENSE file. This license can also be obtained from
72 http://www.eu-datagrid.org/license.
73
74 The underlying GridFTP library is part of the Globus Toolkit (TM) and
75 is covered by the Globus Toolkit Public License. See
76 http://www.globus.org for more information.
77
78
79
801.2.9.2 2022-07-21 EDG-GRIDFTP-RM(1)