2026/07/13

From WoozleCodes
Jump to navigation Jump to search
Monday, July 13, 2026 (#194)
Sunday Monday Tuesday ⇒ next

References

Main Work

Ferreteria FileSys stuff in order to support sftp in FTM

Tentatively, changing my wrapper-model to match phpseclib's can also accommodate the PHP native functions; they'll each just handle things a little differently under the hood.

...and the main change there is that SFTP objects would be their own thing, rather than being requested from an SSH2 object. (In fact, if you needed an SSH2 object representing the same connection as an SFTP object, you'd get it from the SFTP object instead of vice-versa.)

A detail which needs reconciling:

phpseclib my existing model
objects are constructed from connection info objects are constructed from nothing
object connects upon construction object connects upon explicit request with connection info

Both of these do authorization as a separate operation.

I'm thinking maybe it should be that objects are constructed from a connection object which includes any authorization info, for which there is already a class-structure (Entry).

We'll see how this works out.