I've created a small uploader. It basically connects to an FTP server and upload files from my local folder. It's working now but my problem is, sometimes my NSStream (output/input) stops responding. In the beginning, you would receive events like the stream opened, has space available and what not. However, there are times when it would suddenly stop receiving stream events. It's just stuck there waiting for an event to be called. Does anyone know what could possibly be doing it? Is it connection issues? Is there a way I could do to avoid it? Thanks.