Skip to content

Commit 68677bb

Browse files
committed
scp client and server ported to work in Windows
Lot of code had to be redone as scp.exe contains both the scp client and scp server in the same binary working in Windows needs various file system access related changes. sshd_config file needs to add "scp" subsystem path like we do for sftp server.
1 parent 298c353 commit 68677bb

File tree

3 files changed

+1793
-81
lines changed

3 files changed

+1793
-81
lines changed

contrib/win32/win32compat/socket.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,8 +1676,8 @@ int peekPipeRead(int sfd)
16761676

16771677
if (!ret)
16781678
{
1679-
error("PeekNamedPipe on sfd [%d] failed with error code [%d]",
1680-
sfd, GetLastError());
1679+
//error("PeekNamedPipe on sfd [%d] failed with error code [%d]",
1680+
// sfd, GetLastError());
16811681
return 0;
16821682
}
16831683

0 commit comments

Comments
 (0)