<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 12: scp get fails when local file is larger</title><link href="https://sourceforge.net/p/sharpssh/bugs/12/" rel="alternate"/><link href="https://sourceforge.net/p/sharpssh/bugs/12/feed.atom" rel="self"/><id>https://sourceforge.net/p/sharpssh/bugs/12/</id><updated>2008-12-08T08:46:05Z</updated><subtitle>Recent changes to 12: scp get fails when local file is larger</subtitle><entry><title>scp get fails when local file is larger</title><link href="https://sourceforge.net/p/sharpssh/bugs/12/" rel="alternate"/><published>2008-12-08T08:46:05Z</published><updated>2008-12-08T08:46:05Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9b992eefe7a0ba3de7b8a441e1a201d372d159f9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When copying a file, via scp get, to an existing local file that is larger then the remote file, the copy does not complete.  The larger local file is never replaced.  I was able to get around this by always deleting the local file [File.Delete(lfile)] in the line before your [filestream write(lfile)].&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>