2026/06/10
Jump to navigation
Jump to search
|
Wednesday, June 10, 2026 (#161)
|
|
Working on Ferreteria FileSys stuff in order to support sftp in FTM.
- 09:48 Current task: reconcile
Sys\FileSys\Aspect\Ident\spex\USpecwithIO\Aspect\Entry. - 21:16 I'm now getting coredumps when I try to call
ssh2_sftp_stat()with a valid ssh2 resource.- Word on the street is that ssh2 is just kinda unstable with PHP (due to C/PHP data-format incompatibilities, OSLT), and that I'd be better off using PHPSecLib, a a PHP-native implementation of various things including ssh and sftp.
- Note: some core data-mangling stuff is in here.
- However, #phpseclib pulls in part of Symfony (a whole other app framework) and I'm not sure I want to go there.
- What I'd rather do is adapt the bits I need to work within Ferreteria, but it is as yet unclear just how ugly a mountain I'd be setting myself up to climb.
- Word on the street is that ssh2 is just kinda unstable with PHP (due to C/PHP data-format incompatibilities, OSLT), and that I'd be better off using PHPSecLib, a a PHP-native implementation of various things including ssh and sftp.