DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14063>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14063

ANT FTP will not download a file if it is a symlink

           Summary: ANT FTP will not download a file if it is a symlink
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Optional Tasks
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I can get ANT to download a file from an FTP server.  I can get it to download a
file if it is a hard link to a file.  If it is a symlink it will not download
the file.  It does not generate an error, it simply does not see it as a file.

<target name="explosivo-log">

  <ftp action="get"
       server="explosivo.com"
       userid="xxxx"
       password="xxxx"
       binary="no"
       verbose="yes"
       remotedir="/home/explosivo">
    <fileset dir="/www/logs" followsymlinks="yes" defaultexcludes="no">
      <include name="explosivo-access-log"/>
    </fileset>
  </ftp>
</target>

I have tried many permutations of followsymlinks and it still never seems to see
the files I want...

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

Reply via email to