Commit 659cd54
committed
Truncate local file in ScpClient.Download
Similar to sshnet#1686 but for the local side of SCP: opening the file should use
Create not OpenWrite.
closes sshnet#6481 parent e5ad82c commit 659cd54
File tree
2 files changed
+3
-2
lines changed- src/Renci.SshNet
- test/Renci.SshNet.IntegrationTests
2 files changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
831 | 831 | | |
832 | 832 | | |
833 | 833 | | |
834 | | - | |
| 834 | + | |
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
679 | 679 | | |
680 | 680 | | |
681 | 681 | | |
682 | | - | |
| 682 | + | |
| 683 | + | |
683 | 684 | | |
684 | 685 | | |
685 | 686 | | |
| |||
0 commit comments