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 33770] New: - Unable to retrieve file
Date Mon, 28 Feb 2005 13:34:57 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33770>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33770

           Summary: Unable to retrieve file
           Product: Ant
           Version: 1.6.2
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: jain@gmx.net


I am unable to retrieve the following file with Ant:

  wget ftp://nlmpubs.nlm.nih.gov/online/mesh/.xmlmesh/desc2005.gz

Note the dot in the path. "wget" doesn't have any problems retrieving this file.
But with Ant's "get" task:

  [get] Getting: ftp://nlmpubs.nlm.nih.gov/online/mesh/.xmlmesh/desc2005.gz
  [get] Error opening connection sun.net.ftp.FtpProtocolException: PORT :500
Illegal PORT command, EPSV ALL in effect
  [get] Error opening connection java.io.FileNotFoundException:
online/mesh/.xmlmesh/desc2005.gz
  [get] Error opening connection java.io.FileNotFoundException:
online/mesh/.xmlmesh/desc2005.gz
  [get] Can't get ftp://nlmpubs.nlm.nih.gov/online/mesh/.xmlmesh/desc2005.gz to
/work/data/src/mesh.xml.gz

And with the "ftp" task:

  [ftp] getting files
  [ftp] 0 files retrieved

Here is the corresponding fragment from the build.xml:

  <ftp
    server="${host}"
    userid="anonymous"
    password="anonymous"
    action="get"
    depends="yes"
    passive="yes"
    preservelastmodified="yes"
  >
      <fileset dir=".">
        <include name="${path}"/>
      </fileset>
  </ftp>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message