The Data connection is made from the server back to the client, unlike
the command connection which is made in the traditional client to server
sense.  For some reason a different IP address is trying to make the
data connection back to the client.  If you can set the FTP to passive,
the client (ie: you) should also make the data connection.  In theory
that should fix your problem...

Bye


-----Original Message-----
From: Eduardo Andrés Alfonso Sierra [mailto:edalfon@;lycos.co.uk] 
Sent: Monday, November 04, 2002 4:01 PM
To: Ant Users List
Subject: ftp transfer error. 


Hi

I get this error while trying to upload a file to my lycos account
(ftp.members.lycos.co.uk)

BUILD FAILED
error during FTP transfer: java.io.IOException: Host attempting data
connection 213.193.0.53 is not same as server 213.193.0.46

The script used to do that is


   <ftp server="${server}" userid="${user}" password="${password}">
    <fileset dir=".">
     <include name="${file}"/>
    </fileset>
   </ftp>

Does anybody knows what happen here???  what can I do??



--
To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail:
<mailto:ant-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@;jakarta.apache.org>

Reply via email to