<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/dotnetssh/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/dotnetssh/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/dotnetssh/support-requests/</id><updated>2010-12-08T10:40:23Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>Session disconnect problem</title><link href="https://sourceforge.net/p/dotnetssh/support-requests/1/" rel="alternate"/><published>2010-12-08T10:40:23Z</published><updated>2010-12-08T10:40:23Z</updated><author><name>CodeFire</name><uri>https://sourceforge.net/u/codefire/</uri></author><id>https://sourceforge.neta6cc46bbeef6039a45c31788e2949e9a4b5a9cfa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am facing a strange behavior which i can't avoid...&lt;br /&gt;
I have it all the time into my own C# project, so i have tested the sample and it is there too.&lt;/p&gt;
&lt;p&gt;Here is how to reproduce the behavior:&lt;/p&gt;
&lt;p&gt;- run SSH File Transfer Sample&lt;br /&gt;
- either To or From direction&lt;br /&gt;
- using SCP protocol, transfer a file&lt;br /&gt;
- then press Enter key twice to close the session&lt;br /&gt;
--&amp;gt; If your Environment Debug options are set to break for Common Language Runtime Exceptions, then you can see following exception while the session is trying to disconnect:&lt;/p&gt;
&lt;p&gt;JStream.cs&lt;/p&gt;
&lt;p&gt;public override int Read(byte[] buffer, int offset, int count)&lt;br /&gt;
{&lt;br /&gt;
return s.Read(buffer, offset, count);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. &lt;br /&gt;
at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset, Int32 size)&lt;br /&gt;
at FSM.DotNetSSH.java.io.JStream.Read(Byte[] buffer, Int32 offset, Int32 count) in C:\\DotNetSSH\DotNetSSH\java\io\JStream.cs:line 19&lt;/p&gt;
&lt;p&gt;Sometimes it appears onto the Write method.&lt;/p&gt;
&lt;p&gt;I don't see how to avoid that exception, thanks so much in advance to help me on this.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;
David &lt;/p&gt;&lt;/div&gt;</summary></entry></feed>