<ftp2>
<ftp>
task of APACHE ANT, extended with the capability to use FTP proxies, and makes use of Java's Authenticator
for authentication.
Everything else is as with the original task, including the documentation that follows.
Name | Description |
---|---|
account="..."
|
Sets the login account to use on the specified server. |
action="..."
|
Deprecated.
since 1.5.x.
setAction(String) is deprecated and is replaced with
setAction(FTP.Action) to make Ant's Introspection mechanism do the
work and also to encapsulate operations on the type in its own
class. |
action="..."
|
Sets the FTP action to be taken. |
binary="..."
|
If true, uses binary mode, otherwise text mode (default is binary). |
chmod="..."
|
Sets the file permission mode (Unix only) for files sent to the server. |
defaultDateFormatConfig="..."
|
Sets the defaultDateFormatConfig attribute. |
depends="..."
|
Set to true to transmit only files that are new or changed from their remote counterparts. |
enableRemoteVerification="..."
|
Whether to verify that data and control connections are connected to the same remote host. |
ignoreNoncriticalErrors="..."
|
set the flag to skip errors on directory creation. |
initialSiteCommand="..."
|
Sets the initialSiteCommand attribute. |
listing="..."
|
The output file for the "list" action. |
newer="..."
|
A synonym for depends. |
passive="..."
|
Specifies whether to use passive mode. |
password="..."
|
Sets the login password for the given user id. |
port="..."
|
Sets the FTP port used by the remote server. |
preserveLastModified="..."
|
Set to true to preserve modification times for "gotten" files. |
proxyPort="..."
|
The port of the proxyServer="..." to use.
|
proxyServer="..."
|
If set, then the connection to the server="..." is not established directly, but through the
designated FTP proxy server.
|
proxyUserid="..." , proxyPassword="..."
|
If set, then authentication to the FTP proxy server is attempted with the designated user id and password. |
recentDateFormatConfig="..."
|
Sets the recentDateFormatConfig attribute. |
remotedir="..."
|
Sets the remote directory where files will be placed. |
retriesAllowed="..."
|
Defines how many times to retry executing FTP command before giving up. |
separator="..."
|
Sets the remote file separator character. |
server="..."
|
Sets the FTP server to send files to. |
serverLanguageCodeConfig="..."
|
Sets the serverLanguageCode attribute. |
serverTimeZoneConfig="..."
|
Sets the serverTimeZoneConfig attribute. |
shortMonthNamesConfig="..."
|
Sets the shortMonthNamesConfig attribute |
siteCommand="..."
|
Sets the siteCommand attribute. |
skipFailedTransfers="..."
|
If true, enables unsuccessful file put, delete and get operations to be skipped with a warning and the remainder of the files still transferred. |
systemTypeKey="..."
|
Sets the systemTypeKey attribute. |
timeDiffAuto="..."
|
"true" to find out automatically the time difference between local and remote machine. |
timeDiffMillis="..."
|
number of milliseconds to add to the time on the remote machine to get the time on the local machine. |
timestampGranularity="..."
|
Sets the timestampGranularity attribute |
umask="..."
|
Sets the default mask for file creation on a unix server. |
userid="..."
|
Sets the login user id to use on the specified server. |
verbose="..."
|
Set to true to receive notification about each file as it is transferred. |
Name | Description |
---|---|
<fileset>
|
A set of files to upload or download |
Default values are underlined.
remotedir="dir"
proxyServer="host-name"
server="..."
is not established directly, but through the
designated FTP proxy server.InetAddress.getByName(String)
proxyPort="port-number|21"
proxyServer="..."
to use. proxyUserid="user-id"
, proxyPassword="password"
passive="true|false"
newer="true|false"
timeDiffMillis="time-diff-millis"
newer
timeDiffAuto="true|false"
depends="true|false"
separator="separator"
action="action"
action="send|put|recv|get|del|delete|list|mkdir|chmod|rmdir|site"
listing="listing"
skipFailedTransfers="true|false"
ignoreNoncriticalErrors="true|false"
systemTypeKey="UNIX|VMS|WINDOWS|OS/2|OS/400|MVS"
FTPClientConfig
remote system key.FTPClientConfig
defaultDateFormatConfig="default-date-format"
FTPClientConfig
recentDateFormatConfig="recent-date-format"
FTPClientConfig
serverLanguageCodeConfig="da|de|en|es|fr|it|nl|no|pt|ro|sh|sk|sl|sq|sv"
FTPClientConfig
serverTimeZoneConfig="server-time-zone-id"
FTPClientConfig
shortMonthNamesConfig="short-month-names"
FTPClientConfig
retriesAllowed="retries-allowed"
siteCommand="site-command"
initialSiteCommand="initial-command"
Copyright © 2019. All rights reserved.