commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean <dean.w.parsh...@gmail.com>
Subject RE: ftpclient and telnetclient socket timeout exception with getproperties()
Date Thu, 28 Oct 2010 15:50:30 GMT
Hello all,

Thanks but I'm an idiot.. the prop was set to xx.255.xxx.xxx and not
xx.225.xxx.xxx.. the sort of typo that is invisible when you have been
coding for 10 hours..


On Thu, 2010-10-28 at 16:52 +0800, chenxuejie wrote:
> May be, you can use applicationProps.getProperty("ftp_ip").toString()
> 
> --Chen
> 
> > -----Original Message-----
> > From: mordjah [mailto:dean.w.parshall@gmail.com] 
> > Sent: Thursday, October 28, 2010 6:48 AM
> > To: user@commons.apache.org
> > Subject: ftpclient and telnetclient socket timeout exception 
> > with getproperties()
> > 
> > 
> > Hello,
> > 
> > I am experiencing an issue with both ftpclient and 
> > telnetclient connect(), when I call connect with a standard 
> > string ie connect(ip) its fine, but when I call it like this 
> > connect(applicationProps.getProperty("ftp_ip"); it throws a 
> > timeout. the ftp_ip prop is set, and calling println() shows 
> > no difference in the string. Anyone else experienced this, or 
> > know where to look?
> > 
> > ~Dean
> > --
> > View this message in context: 
> > http://apache-commons.680414.n4.nabble.com/ftpclient-and-telne
> > tclient-socket-timeout-exception-with-getproperties-tp3016399p
> > 3016399.html
> > Sent from the Commons - User mailing list archive at Nabble.com.
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> > For additional commands, e-mail: user-help@commons.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message