wolfssh/scripts
John Safranek 6525fef9c2 scp: fix server command and record parsing
ParseScpCommand stops looking for options once -t or -f has taken the
rest of the command as the path, and skips a "--" before it. A target
with no directory part names a file in the current directory, unless
it names an existing directory, which stays the target as in OpenSSH.

- ScpCheckForRename keeps a bare name whole and uses "." as its base,
  and leaves ".", "..", and an existing directory as they are
- GetScpFileMode checks the start index and the full mode field before
  reading
- DoScpRequest returns WS_SUCCESS when data follows a finished transfer
- tests: add ParseScpCommand cases, with directory targets and path
  checks skipped on Windows, and GetScpFileMode index cases
- scp.test: copy to and from "." in both directions

Issue: F-15504, F-15501, F-11655, F-13320
2026-11-17 09:40:16 -06:00
..
fwd-bulk.test
…
fwd.test
…
fwd.test.expect
…
get-put.test
…
include.am
…
openssh-interop.test
…
sbom.am
…
scp.test scp: fix server command and record parsing 2026-11-17 09:40:16 -06:00
sftp.test
…
sshclient.test Unbuffer stdin before a client password prompt 2026-11-03 16:24:06 -06:00