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:[EMAIL PROTECTED]:/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. charlie > ATTACHMENT part 9 message/rfc822 > Date: Mon, 24 Feb 2003 19:38:27 -0800 > From: Dale Anson <[EMAIL PROTECTED]> > To: Ant Developers List <[EMAIL PROTECTED]> > Subject: Re: SCP Ant Syntax > > How about support for this case: > > <scp file="user:[EMAIL PROTECTED]:/dir/file" > tofile="other:[EMAIL PROTECTED]:/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="[EMAIL PROTECTED]:/dir"> > <fileset dir="somedir"> > <include name="somedir"/> > </fileset> > </scp> > __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/
