зеркало из https://github.com/github/putty.git
Implement sftp-backend-diagnostic in pscp.
[originally from svn r3309]
This commit is contained in:
Родитель
10d4930b09
Коммит
a9ea200b7f
6
scp.c
6
scp.c
|
@ -435,6 +435,12 @@ static void ssh_scp_init(void)
|
|||
select_result((WPARAM) scp_ssh_socket, (LPARAM) FD_READ);
|
||||
}
|
||||
using_sftp = !ssh_fallback_cmd(backhandle);
|
||||
if (verbose) {
|
||||
if (using_sftp)
|
||||
tell_user(stderr, "Using SFTP");
|
||||
else
|
||||
tell_user(stderr, "Using SCP1");
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Загрузка…
Ссылка в новой задаче