Menu

#12 scp get fails when local file is larger

open
nobody
None
5
2008-12-08
2008-12-08
Anonymous
No

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)].

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.