ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: Overwrite files at the remote site.
Date Tue, 15 May 2007 09:43:38 GMT
Chun Ji 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. 

the ftp task lets you do a chmod of existing files, or delete them...so 
run the appopriate <ftp> ops before the upload. consult the docs for 
examples

-steve

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


Mime
View raw message