Lutz Justen
af9038b4dd
[RemoteUtil] Add support for sftp ( #64 )
...
In a future CL, we will switch from scp to sftp. This CL adds support
for calling sftp from RemoteUtil.
In order to maintain backwards compatibility where people still set
--scp-command or CDC_SCP_COMMAND instead of the sftp versions, this CL
also adds the helper method RemoteUtil::ScpToSftpCommand, which
attempts to convert an scp command to an sftp command. This is usually
possible since the args are almost the same. For instance, if the scp
command is
C:\path\to\scp.exe -P 1234 -i <key_file> -oUserKnownHostsFile=known_hosts
then the corresponding sftp command is most likely
C:\path\to\sftp.exe -P 1234 -i <key_file> -oUserKnownHostsFile=known_hosts
This works for instance for OpenSSH.
2023-01-17 12:05:17 +01:00
..
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-12-19 10:04:36 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-15 12:53:02 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-15 12:53:02 +01:00
2022-11-15 12:53:02 +01:00
2023-01-09 17:56:47 +01:00
2023-01-09 17:56:47 +01:00
2023-01-09 17:56:47 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-12-01 12:40:00 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-21 23:22:09 +01:00
2022-11-18 10:59:42 +01:00
2022-11-18 10:59:42 +01:00
2022-11-03 10:39:10 +01:00
2022-12-19 10:04:36 +01:00
2022-12-19 10:04:36 +01:00
2022-12-19 10:04:36 +01:00
2022-12-19 10:04:36 +01:00
2022-12-19 10:04:36 +01:00
2022-12-19 10:04:36 +01:00
2023-01-16 12:26:45 +01:00
2023-01-16 12:26:45 +01:00
2023-01-16 12:26:45 +01:00
2023-01-17 12:05:17 +01:00
2023-01-17 12:05:17 +01:00
2023-01-17 12:05:17 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-22 12:05:48 +01:00
2022-11-22 12:05:48 +01:00
2022-11-22 12:05:48 +01:00
2022-11-21 23:22:09 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-15 12:48:09 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-21 23:22:09 +01:00
2022-11-21 23:22:09 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00
2022-11-03 10:39:10 +01:00