You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Eduardo Andrés Alfonso Sierra <ed...@lycos.co.uk> on 2002/11/04 22:00:39 UTC

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: ftp transfer error.

Posted by Bill Chmura <Bi...@Explosivo.com>.

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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>