1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Implement sftp-backend-diagnostic in pscp.

[originally from svn r3309]
This commit is contained in:
Owen Dunn 2003-06-26 15:08:05 +00:00
parent 10d4930b09
commit a9ea200b7f

6
scp.c
View File

@ -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");
}
}
/*