diff --git a/docs/manual/OptionalTasks/ftp.html b/docs/manual/OptionalTasks/ftp.html index da8aa42e6..918bdcbe3 100644 --- a/docs/manual/OptionalTasks/ftp.html +++ b/docs/manual/OptionalTasks/ftp.html @@ -39,9 +39,9 @@ coming from your ftp server (ls -l on the ftp prompt).
Attribute | -Description | -Required | +Attribute | +Description | +Required |
server | @@ -119,10 +119,30 @@ coming from your ftp server (ls -l on the ftp prompt). Since ant 1.6No | ||||
timestampGranularity | +Specify either MINUTE , NONE ,
+ (or you may specify "" which is equivalent to not specifying a value,
+ useful for property-file driven scripts). Allows override of the typical situation
+ in PUT and GET where local filesystem timestamps are HH:mm:ss
+ and the typical FTP server's timestamps are HH:mm . This can throw
+ off uptodate calculations. However, the default values should suffice for most
+ applications.+ Since ant 1.7 + |
+ No. Only applies in "puts" and "gets" where the
+ default values are MINUTE for PUT and NONE for GET.
+ (It is not as necessary in GET because we have the preservelastmodified option.) |
+ |||
timediffmillis | -number of milliseconds to add to the time on the remote machine
- to get the time on the local machine. + | Deprecated. Number of milliseconds to add to the time on
+ the remote machine to get the time on the local machine. The timestampGranularity
+ attribute (for which the default values should suffice in most situations), and the
+ serverTimeZoneConfig option, should make this unnecessary.
+ serverTimeZoneConfig does the math for you and also knows about
+ Daylight Savings Time. Since ant 1.6 |
No | @@ -209,7 +229,8 @@ coming from your ftp server (ls -l on the ftp prompt). Supported values areNo, but if any of the following xxxConfig
attributes is specified, UNIX will be assumed, even if ""
@@ -218,25 +239,31 @@ coming from your ftp server (ls -l on the ftp prompt).
| |
serverTimeZoneConfig | -Specify as a java.util.Timezone identifier
- (e.g. GMT , America/Chicago or
- Asia/Jakarta ) the timezone
- used by the server for timestamps. This enables Ant timestamp dependency
- checking even when the server is in a different timezone than the client.
- If not specified, (or specified as "" ), the timezone of the
- client is assumed.
+ | Specify as a Java
+
+ TimeZone identifier, (e.g. GMT , America/Chicago or
+ Asia/Jakarta ) the timezone used by the server for timestamps. This
+ enables timestamp dependency checking even when the server is in a different
+ time zone from the client. Time Zones know, also, about daylight savings time,
+ and do not require you to calculate milliseconds of difference. If not specified,
+ (or specified as "" ), the time zone of the client is assumed.+ Since ant 1.7 |
No | ||
defaultDateFormatConfig | -Specify in java.text.SimpleDateFormat notation, (e.g.
- yyyy-MM-dd ) the date format generally used by the FTP server
+ | Specify in Java
+
+ SimpleDateFormat notation, (e.g.
+ yyyy-MM-dd ), the date format generally used by the FTP server
to parse dates. In some cases this will be the only date format used.
In others, (unix for example) this will be used for dates
- older than a year old. (See recentDateFormatConfig). If not specified,
+ older than a year old. (See recentDateFormatConfig). If not specified,
(or specified as "" ), the default date format for the system
- type indicated by the systemTypeKey attribute will be used.
+ type indicated by the systemTypeKey attribute will be used.+ Since ant 1.7 |
No. @@ -244,11 +271,14 @@ coming from your ftp server (ls -l on the ftp prompt). | ||
recentDateFormatConfig | -Specify in java.text.SimpleDateFormat notation, + | Specify in Java
+
+ SimpleDateFormat notation,
(e.g. MMM dd hh:mm ) the date format used by the FTP server
to parse dates less than a year old. If not specified (or specified as
"" ), and if the system type indicated by the system key uses
- a recent date format, its standard format will be used.
+ a recent date format, its standard format will be used.+ Since ant 1.7 |
No | No | @@ -293,7 +324,8 @@ coming from your ftp server (ls -l on the ftp prompt). Icelandic FTP server might conceivably be specified asNo |