From 7691274c7c6013a027344bd5bc29b4774b670ea4 Mon Sep 17 00:00:00 2001 From: Leonardo Robol Date: Wed, 3 Feb 2010 11:38:43 +0100 Subject: [PATCH] Modificato il metodo di disconnessione dopo la fine del trasferimento. --- Protocol.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Protocol.cs b/Protocol.cs index 38ad533..96755d3 100644 --- a/Protocol.cs +++ b/Protocol.cs @@ -286,6 +286,7 @@ namespace Dizzy Console.WriteLine(" => Starting sftp command"); sftp.Download (this.file, downloadFolder); + sftp.Disconnect (); } public void Stop () @@ -313,7 +314,6 @@ namespace Dizzy int totalBytes, string message) { this.tasks.DeleteRow (this.iter); - this.Stop (); } } } -- 2.1.4