> A patch that describes the verbose attribute to > docs/manual/OptionalTasks/scp.html would be a good start ;-)
See below. Also I expanded the range of tested versions up to 0.1.14 because that is the version I have used. However I have not done any exhaustive testing so you might want to remove it. > It specifically writes to System.out in order to avoid that, but I > think we've tightened up the logging system so that it really gets > buffered until the explicit flush has been called. Did you notice that it flushes only when 50 dots have been written? I could add the extra attributes remoteFile, localFile, toRemoteDir and toLocalDir. Ok? Index: scp.html =================================================================== RCS file: /home/cvspublic/ant/docs/manual/OptionalTasks/scp.html,v retrieving revision 1.12 diff -B -b -u -r1.12 scp.html --- scp.html 9 Feb 2004 21:50:08 -0000 1.12 +++ scp.html 8 Apr 2004 10:24:54 -0000 @@ -20,7 +20,7 @@ in the Ant distribution. See <a href="../install.html#librarydependencies">Library Dependencies</a> for more information. This task has been tested with jsch-0.1.2 to -jsch-0.1.9.</p> +jsch-0.1.14.</p> <h3>Parameters</h3> <table border="1" cellpadding="2" cellspacing="0"> @@ -34,7 +34,7 @@ <td valign="top">The file to copy. This can be a local path or a remote path of the form <i>user[:[EMAIL PROTECTED]:/directory/path</i>. <i>:password</i> can be ommitted if you use key based - authentication or specify the password attribute.</td> + authentication or specify the password attribute. The way remote path is recognized is whether it contains @ character or not. This will not work if your localPath contains @ character.</td> <td valign="top" align="center">Yes, unless a nested <code><fileset></code> element is used.</td> </tr> @@ -43,7 +43,7 @@ <td valign="top">The directory to copy to. This can be a local path or a remote path of the form <i>user[:[EMAIL PROTECTED]:/directory/path</i>. <i>:password</i> can be ommitted if you use key based - authentication or specify the password attribute.</td> + authentication or specify the password attribute. The way remote path is recognized is whether it contains @ character or not. This will not work if your localPath contains @ character.</td> <td valian="top" align="center">Yes</td> </tr> <tr> @@ -91,6 +91,11 @@ <td valign="top">Passphrase for your private key.</td> <td valign="top" align="center">Yes, if you are using key based authentication.</td> + </tr> + <tr> + <td valign="top">verbose</td> + <td valign="top">Determines whether SCP outputs verbosely to the user. Currently this means outputting dots/stars showing the progress of a file transfer.</td> + <td valign="top" align="center">No; defaults to false.</td> </tr> </table> <h3>Parameters specified as nested elements</h3> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]