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=35471>. 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=35471 Summary: need to add remoteVerificationEnabled attribute to FTP task to avoid firewall errors Product: Ant Version: 1.6.2 Platform: Other OS/Version: Windows XP Status: NEW Keywords: PatchAvailable Severity: enhancement Priority: P3 Component: Optional Tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] Hello all! Some days ago I decided to use FTP Ant task for automatize some deployment tasks. In local network all works fine but when I tried to deloy to remote server (outside our firewall) I have caught an IOException: "Host attempting data connection xxx.xxx.xxx.xx2 is not same as server xxx.xxx.xxx.xx1" where xxx.xxx.xxx.xx2 is IP of our firewall and xxx.xxx.xxx.xx1 IP of remote server. Setproxy didn't help at all... In Google Groups I have found solution for our problem: http://groups.google.com/groups? hl=ru&lr=&threadm=pan.2005.05.11.07.52.37.118599% 40libero.it&rnum=1&prev=/groups%3Fq%3D%2522is%2Bnot%2Bsame%2Bas%2Bserver%2522% 2Bcommons%26hl%3Dru%26lr%3D%26selm%3Dpan.2005.05.11.07.52.37.118599% 2540libero.it%26rnum%3D1 To apply this solution I have to setRemoteVerificationEnabled(false). But this property still not changeble from Ant and what is more this problem exists in Ant some years (look here: http://www.mail-archive.com/ant- [EMAIL PROTECTED]/msg20460.html - the same problem without solution from 2002 year). But this is rare problem: only 5 questions in Google: http://www.google.com/search?ie=windows-1251&q=% 22Host+attempting+data+connection%22++%22is+not+same+as+server%22 That's why no solution till now. So. To resolve this problem I have add remoteVerificationEnabled attribute to FTP task (see attached diff file). And now ftp works perfectly behind firewall. I think this attribute will be very useful for everybody. Please, add this attribute to next version of Ant. Best Regards, -- Viacheslav Garmash Team Leader Exadel Inc. e-mail: [EMAIL PROTECTED] phone +375 17 2626260 ext. 106 cellular +375 29 4038657 -- 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]