mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-25 01:02:24 +00:00
Implement sftp-backend-diagnostic in pscp.
[originally from svn r3309]
This commit is contained in:
parent
10d4930b09
commit
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);
|
select_result((WPARAM) scp_ssh_socket, (LPARAM) FD_READ);
|
||||||
}
|
}
|
||||||
using_sftp = !ssh_fallback_cmd(backhandle);
|
using_sftp = !ssh_fallback_cmd(backhandle);
|
||||||
|
if (verbose) {
|
||||||
|
if (using_sftp)
|
||||||
|
tell_user(stderr, "Using SFTP");
|
||||||
|
else
|
||||||
|
tell_user(stderr, "Using SCP1");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
Reference in New Issue
Block a user