ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Consumer <>
Subject Re: SCP Ant Syntax
Date Tue, 25 Feb 2003 14:10:36 GMT

I have not finished the sending files between two
remote hosts.  I was going to wait until someone
requested that feature, but I do have that case
included in my code.

FileSets are included in the scp task.  You can only
use them for uploading files because there's no way 
for the remote side to understand them.  However, you 
can transfer multiple files with this notation:

<scp file="user:pwd@host:/home/charlie/*"
todir="/home/jack" />

I don't have my code available for download at the
moment.  I was planning on submitting it once I write
the unittests.  I can send you a copy.


> ATTACHMENT part 9 message/rfc822 
> Date: Mon, 24 Feb 2003 19:38:27 -0800
> From: Dale Anson <>
> To: Ant Developers List <>
> Subject: Re: SCP Ant Syntax
> How about support for this case:
> <scp file="user:pwd@host:/dir/file"
> tofile="other:pwd@otherhost:/dir/file"/>
> That is, scp between two remote hosts.
> Is your code available for download somewhere?
> Dale Anson
> I also meant to ask about support for filesets in
> scp. Does your scp 
> task support them? Something like:
> <scp from="local" to="user@host:/dir">
>     <fileset dir="somedir">
>         <include name="somedir"/>
>     </fileset>
> </scp>

Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more

View raw message