Use a native SCP client and do something like this....

<exec dir="." executable="${scp}" failonerror="true">
    <arg path="${file}"/>
    <arg value="[EMAIL PROTECTED]:/path/to/dir"/>
</exec>

I have a global .build.properties that I import in all build files that is
stored in my user.home directory which has "scp=pscp".  The "pscp" program is
an SCP client is from the Putty project (yes, I'm using Windows).  In any case,
no matter the platform, you can always specify whichever SCP client you want by
changing the property.  Don't forget to put the directory containing the
specified SCP client in your system path.

Jake


Quoting "Balasinorwala, Murtuza J." <[EMAIL PROTECTED]>:

> Hello,
>      Does ANT 1.5 support scp task? Is there a jar available that I can use
> to implement the scp task in my existing scripts.
>
> Thanks
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to