Name
ftp
Synopsis
Implements a basic FTP client. This task depends on
netcomponents.jar, available at http://www.savarese.org/oro/downloads.
Attributes
-
action(all, String, N) The FTP command to execute. Legal values are
send,put,recv,get,del,delete,list, andmkdir. Defaults tosend.-
binary(all, boolean, N) If
true, use binary-mode transfers instead of text-mode. Defaults totrue.-
depends(all, boolean, N) If
true, transfer only new or changed files. Defaults tofalse.-
ignorenoncriticalerrors(1.4, boolean, N) If
true, ignore noncritical error codes sent by some FTP servers. Defaults tofalse.-
listing(all, File, *) Name of a file to store output from the
listaction.-
newer(all, boolean, N) An alias for
depends.-
passive(1.3, 1.4, boolean, N) If
true, use passive-mode transfers. Defaults tofalse.-
password(all, String, Y) The login password for the FTP server.
-
port(all, int, N) The port number. Defaults to 21.
-
remotedir(all, String, N) A directory on the remote server.
-
separator(all, String, N) The file separator on the FTP server. Defaults to "
/“.-
server(all, String, Y) The URL of the remote server.
-
skipfailedtransfers(1.4, boolean, N) If
true, continue transferring files even if some failures occur. Defaults tofalse.-
userid(all, String, Y) The login ID for the FTP server.
-
verbose(all, boolean, N) If
true, operate in verbose mode. Defaults tofalse.
The listing attribute is required when
action="list".
Content
- 0..n nested
<fileset>elements (all) Specifies files and directories to include ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access