An existing connection was forcibly closed by the remote host

Apr 9, 2013 at 4:30 AM
Edited Apr 9, 2013 at 4:34 AM
I am hoping someone can easily tell me what this is causing this error:

System.Net.Sockets.SocketException (0x80004005): An existing connection was forcibly closed by the remote host

I've only just started using this library, and this seems to randomly happen.

I'm using VS2012 with framework 4.5. The version i downloaded was the latest available (on 04/05/2013).

I am only using the SftpClient directly and only getting directory listings and downloading files.

Thanks for any advice you may have.