For scp, Ant uses jsch... http://www.jcraft.com/jsch/ There are several examples in the source, or you could look at the scp ant tasks source.
-Rob Anderson On Thu, Nov 26, 2009 at 8:13 AM, Rebhan, Gilbert < gilbert.reb...@huk-coburg.de> wrote: > > > -----Original Message----- > From: LukeS [mailto:luke.shan...@gmail.com] > Sent: Thursday, November 26, 2009 4:50 PM > To: user@ant.apache.org > Subject: Re: AW: Ant API > > /* > Based on your answer and the one previous I might do CVS and SVN > integration > with APIs rather than Ant. However I still feel with file transfer with SCP > will be best done with Ant via Leaf Cutter. > */ > > i searched for a simple to use ssh library some time ago > and ended with Trilead ssh, which was very simple to use. > Unfortunately Trilead ssh ain't developed / supported anymore. > > but there are two other promising java ssh libraries = > http://www.zehon.com/index.html which has a bunch of examples > or > http://www.appgate.com/index/products/mindterm/ > which is free for limited use (25 users). > > i looked also on JSch http://www.jcraft.com/jsch/ , but didn't like it. > > > Regards, Gilbert > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@ant.apache.org > For additional commands, e-mail: user-h...@ant.apache.org > >