From 83b7e75aa816063b22de558a2fb64883d977dd47 Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
The file to copy. This can be a local path or a remote path of the form user[:password]@host:/directory/path. :password can be ommitted if you use key based - authentication or specify the password attribute. | + 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.Yes, unless a nested
<fileset> element is used. |
+ |
localFile | +This is an alternative to the file attribute. But + this must always point to a local file. The reason this was added + was that when you give file attribute it is treated as remote if + it contains @ character. This character can exist also in local + paths. since Ant 1.6.2 | +Alternative to file attribute. | +
remoteFile | +This is an alternative to the file attribute. But + this must always point to a remote file. since Ant 1.6.2 | +Alternative to file attribute. | +
todir | The directory to copy to. This can be a local path or a remote path of the form user[:password]@host:/directory/path. :password can be ommitted if you use key based - authentication or specify the password attribute. | + 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.Yes |
localTodir | +This is an alternative to the todir + attribute. But this must always point to a local directory. The + reason this was added was that when you give todir attribute it is + treated as remote if it contains @ character. This character can + exist also in local paths. since Ant 1.6.2 | +Alternative to todir attribute. | +
remoteTodir | +This is an alternative to the todir + attribute. But this must always point to a remote directory. + since Ant 1.6.2 | +Alternative to todir attribute. | +
port | The port to connect to on the remote host. | @@ -92,6 +127,13 @@ jsch-0.1.9.Yes, if you are using key based authentication. |
verbose | +Determines whether SCP outputs verbosely to the + user. Currently this means outputting dots/stars showing the + progress of a file transfer. since Ant 1.6.2 | +No; defaults to false. | +