diff --git a/manual/Tasks/ftp.html b/manual/Tasks/ftp.html index b25f332e4..dad5ad939 100644 --- a/manual/Tasks/ftp.html +++ b/manual/Tasks/ftp.html @@ -190,7 +190,7 @@ connection.
false
true
The following attributes diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java b/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java index 3be911a4d..ad16f41b7 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/net/FTP.java @@ -1697,11 +1697,12 @@ public class FTP extends Task implements FTPTaskConfig { } /** - * Sets the timeout on the data connection. + * Sets the timeout on the data connection in milliseconds. * Any negative value is discarded and leaves the default + * A value of 0 means an infinite timeout * * @param dataTimeout int - * @since Ant 1.10.6 + * @since Ant 1.10.7 */ public void setDataTimeout(int dataTimeout) { if(dataTimeout >= 0) {