Hi Luis,

yeah, I know 'RTFM' ;-).
I just overread the line. 

If I find a solution, I will post it here.

We currently have a workaround which requires a separate authentification to
the firewall
before we start the ant-process. This authentification lasts several hours
before expiring.
Thanks for looking it up anyway.

Regards,
Adrian

-----Ursprüngliche Nachricht-----
Von: Conelly, Luis (PS, GNF, Contractor) [mailto:[EMAIL PROTECTED]
Gesendet am: Mittwoch, 21. Januar 2004 15:22
An: Ant Users List
Betreff: RE: ftp Login via proxy fails

Adrian,

        From Ant 1.6.0 manual[1]
        "This task does not currently use the proxy information set by the
<setproxy> task, and cannot go through a firewall via socks."

        Unfortunately, I am not pretty sure about how to do this =(

        Regards
        -Luis

[1] http://ant.apache.org/manual/OptionalTasks/ftp.html

-----Original Message-----
From: Tillich, Adrian [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 21, 2004 7:05 AM
To: '[EMAIL PROTECTED]'
Subject: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

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

Reply via email to