Hi Mike, Have you tried running it with the Debug option set?
eg. my $ftp = new Net::FTP('some.host', Debug => 1); This should at least give you some idea as to why the connection is refused etc.. hth toby -----Original Message----- From: Mike Reilley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 01, 2002 11:29 AM To: Subject: NET::FTP CONNECTION REFUSED ERROR I have an FTP PERL program that intermittently comes up with the error. Can't build data connection. Connection refused. If I immediately rerun the PERL program there is a good chance that it will run successfully with out any changes. Can some one explain to me what this error really means or possible a way to avoid this error. THANKS IN ADVANCE All Help, Comments, Code Examples, Thoughts Greatly Appreciated. It has recently come to my attention that some people consider my use of uppercase letters in email as obnoxious, I would like to apologize but in light of having lost 6 fingers and the use of a seventh that leaves me with just a thumb and pinky on my left hand and only a thumb on my right hand. Therefore nothing is meant or implied by my haphazard capitalization. Mike Reilley mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs