Thank you for the tips. But it does not work for this case. I am getting a 
"Connection refused" exceptions. Anything else you could think about ? 


Chun 





-----Original Message-----
From: Mark Miller [mailto:[EMAIL PROTECTED]
Sent: Monday, May 14, 2007 2:19 PM
To: Ant Users List
Subject: Re: Overwrite files at the remote site.
Importance: Low


how about sshexec?
http://ant.apache.org/manual/OptionalTasks/sshexec.html

On 5/14/07, Chun Ji <[EMAIL PROTECTED]> wrote:
>
>
> Hi there,
> I am using the "FTP" task in ANT to update a group of files at a remote
> site, but sometimes, some files at the remote site are read-only, and my ANT
> will fail because of that. Is that any way I can do a chmod of these
> read-only files.
>
>
>
> thanks a lot
>
>
>
>
>
> Chun
>
> ---------------------------------------------------------------------
> 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