Skip to content

add check for pipes to do_upload#704

Merged
tgauth merged 9 commits intoPowerShell:latestw_allfrom
tgauth:add-pipes-sftp-scp
Dec 7, 2023
Merged

add check for pipes to do_upload#704
tgauth merged 9 commits intoPowerShell:latestw_allfrom
tgauth:add-pipes-sftp-scp

Conversation

@tgauth
Copy link
Copy Markdown
Collaborator

@tgauth tgauth commented Nov 6, 2023

PR Summary

  • Allows SFTP (or SCP in SFTP mode) to PUT to a file on the server with contents streamed from a named pipe. Note: if command is run from an SFTP interactive session, the session will terminate after completion.

PR Context

  • SFTP will now check that the type of file being uploaded is a regular file or a named pipe

@tgauth tgauth changed the title [WIP] add check for pipes to do_upload add check for pipes to do_upload Dec 6, 2023
@tgauth tgauth requested a review from vthiebaut10 December 6, 2023 21:17
@tgauth tgauth merged commit 9f9fd0d into PowerShell:latestw_all Dec 7, 2023
@tgauth tgauth deleted the add-pipes-sftp-scp branch December 7, 2023 19:37
hazelduvall pushed a commit to hazelduvall/openssh-portable that referenced this pull request May 6, 2026
* add check for pipes to do_upload

* add parentheses

* add pester tests to sftp

* use pester 3.4 assertions

* add debug

* temp build in debug

* temp build in debug

* revert building CI in debug

* remove pester test for changes; will test manually
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants