title: Extracting tarball C# using WinSCP .NET Assembly
body: <p>I'm using WinSCP <strong>.NET</strong> Assembly in <strong>C#</strong> to transfer a tarball and extracting it.</p>
  
  <p>My code works and I managed to copy the files. But my problem starts, when I try to extract them using <code>session.ExecuteCommand</code>. Nothing happens.</p>
  
  <p>Trying to debug it I've added:</p>
  
  <pre><code>session.ExecuteCommand("touch /&lt;path&gt;/myfile.txt");
  </code></pre>
  
  <p>right after:</p>
  
  <pre><code>session.ExecuteCommand("tar -xzf /&lt;path&gt;/mytarball.tar.gz");
  </code></pre>
  
  <p>and the file is created, so the command and permission is not the problem and using:</p>
  
  <pre><code>result.Check();
  string output = result.Output;
  </code></pre>
  
  <p>Shows that the files are extracted.</p>
  
  <p>I'm using <strong>SCP</strong> protocol and not <strong>SFTP</strong></p>
  
  <p>Any suggesting ?</p>
  
  <p>Br,
  Idan</p>