Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

New Developer
Posts: 1
Registered: ‎10-02-2009
My Device: Not Specified

FTP and socket

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) ?