ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 14063] New: - ANT FTP will not download a file if it is a symlink
Date Tue, 29 Oct 2002 19:44:11 GMT
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: ant-dev@jakarta.apache.org
        ReportedBy: Bill@Explosivo.com


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:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message