Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ant ftp action=chmod 755 directories ONLY

Status
Not open for further replies.

u01jmg3

Technical User
Dec 16, 2005
8
GB
Hi, I already have an Ant build file which works fine but I also need to set file permissions via ftp but I'm struggling to work out the syntax.

I need to change just directories, from the base directory down, to 755. I already have code for changing just files to 644.

code:
------------------------------------------------------------

<ftp action="chmod" chmod="644" remotedir="/apache-tomcat-5.5.15/webapps/${app.name}/WEB-INF/" server="ftp.csd.abdn.ac.uk" userid="userid" password="password"> <fileset includes="**/**"></fileset></ftp>

------------------------------------------------------------

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top