commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chenxuejie <chen_xue...@nec.cn>
Subject RE: ftpclient and telnetclient socket timeout exception with getproperties()
Date Thu, 28 Oct 2010 08:52:10 GMT
 
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


Mime
View raw message