ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Menzel Apache <mame.apa...@gmx.de>
Subject Re: Scp is this possible?
Date Tue, 09 May 2006 20:06:09 GMT
Hi Kevin,

with the ANT task I don't know how to solve your problem, but I have
used Mindterms SSH library

http://www.appgate.com/products/80_MindTerm/

or jsch

http://www.jcraft.com/jsch/

and you can execute ssh or scp command from within your java
application. If you think about to use rsync have a look to the jarsync
library.

Good luck

Martin

Kevin Jackson schrieb:
>>
>> ah the joy of a world where the ops team doesnt trust the developers.
>> Which is why I'm hosting my current endpoint on a laptop at home -I am
>> the ops team.
>>
>
> In this case it's more like, the joys of being told to do the
> impossible (use http to transfer log files from servers running on the
> network as it's the only 'sanctioned' protocol, unfortunately you
> aren't allowed to install anything that can respond to a http get/post
> request on said servers... (can you see where this is going yet)
>
> ssh is the compromise when they realised that what they wanted first
> time around was impossible
>
>> > 1 - is it possible to use scp task with a fileset in this manner (ie
>> > filter files on remote server before pulling back)
>>
>> Not according to the docs; filesets are for local stuff only.
>>
>> Maybe its time to add more features to scp.
>
> If it's not currently possible, I suppose that's one way to achieve it
>
>>
>> > 2 - any work arounds if it's impossible
>>
>> rsync.
>
> [sigh] I wish they'd allow me some freedom to build this when they
> want it next week.
>
> Kev
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message