You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Tillich, Adrian" <Ad...@tui.de> on 2004/01/21 14:04:40 UTC

ftp Login via proxy fails

Hello,

ftp task fails when logging in to the ftp server.
Connection seems to be established for short, then the login fails and
afterwards the server disconnects.
I really don't know what I'm doing wrong (I checked user/pwd for a hundred
times ;-)).

Can anyone help me?

Thanks,
Adrian

Here is the task definition I use:

  <setproxy proxyhost="${proxy.server}" proxyport="${proxy.port}"/>        
  <ftp action="list"
        listing="${download}/list.txt"
        server="${ftp.server}"
        userid="${ftp.user}"
        password="${ftp.pwd}"
        verbose="yes"
        passive="yes"
   >
   </ftp>

... and the console output:

filedownload:
 [setproxy] Setting proxy to proxy1.tui.de:8080
      [ftp] Opening FTP connection to 195.243.202.138
      [ftp] connected
      [ftp] logging in to FTP server
      [ftp] disconnecting

BUILD FAILED
file:D:/build/wolters.xml:32: Could not login to FTP server
        at
org.apache.tools.ant.taskdefs.optional.net.FTP.execute(FTP.java:960)
        at org.apache.tools.ant.Task.perform(Task.java:341)
        at org.apache.tools.ant.Target.execute(Target.java:309)
        at org.apache.tools.ant.Target.performTasks(Target.java:336)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1339)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1255)
        at org.apache.tools.ant.Main.runBuild(Main.java:609)
        at org.apache.tools.ant.Main.start(Main.java:196)
        at org.apache.tools.ant.Main.main(Main.java:235)


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