Skip to content

Get files without SFTP #1809

Answered by terrafrost
felipenaf asked this question in Q&A
Jun 27, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Per https://unix.stackexchange.com/a/282220/54354 you should be able to do $ssh->exec('hexdump -C yourfile.bin') or $ssh->exec('xxd -b yourfile.bin.

I dropped SCP from phpseclib v3 because (1) I think SFTP is the superior protocol and (2) #146 defied diagnosis.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@felipenaf
Comment options

Answer selected by felipenaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants