You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Jonas Kongslund <jo...@kongslund.dk> on 2004/11/24 08:20:48 UTC

Trouble deleting hidden files using ftp task

Hi

Has anyone been able to delete hidden files (files starting with a dot), using 
the ftp task?

The following example

  <ftp action="del" server=.. userid=.. password=.. remotedir="www">
    <fileset>
      <include name="**"/>
    </fileset>
  </ftp>

removes everything in the www folder except the hidden files. This is 
unfortunate since I also would like to remove all .htaccess files.

I'm using Ant 1.6.1 together with commons-net-1.2.2.jar and 
jakarta-oro-2.0.8.jar

Best regards
-- 
Jonas Kongslund   <jo...@kongslund.dk>   <http://www.kongslund.dk>

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