10-02-2009 08:31 AM
I'm trying to use socket for downloading a file on a FTP server, but i have trouble in reading response besauce of blocking read.
Normally a read on InputStreamReader should return -1 if no more character is available, but it block readin !
does anyone not our to read all character in response (not just stopping on CR/LF because i can have multiple line returned) ?
thanks