Re: Hoping for a working example of SFTP in PHP

[email protected] (Calvin Buckley)
Newsgroups php.general
Message-ID <[email protected]>
The ssh2 module is actually /not/ maintained by PHP itself (that is,
it's not a "core" extension that's included with PHP), but rather a
third-party one available from PECL (the 3rd party extension repository
for PHP). Some PHP developers work on ssh2, but it's a side thing for
them. As such, I wouldn't hold it to the same standards I would to the
rest of PHP. I know because I had to add a missing feature in ssh2.

What PHP does to muddle the ground a bit is that they include the
documentation for the 3rd party extensions on php.net like the core
extensions, with easy to miss labels. As such, people could be mislead
- in fact, they have! I remember an amusing Twitter thread about the
'gender' extension, where people assumed it was a weird built-in PHP
feature, but it wasn't.

On Tue, 2021-02-02 at 10:08 -0500, David Spector wrote:
> Dear Stefan,
> 
> Thanks for trying to help. Access was never a problem, since, as I
> said 
> above, the SSH command works perfectly with these keys in the current
> directory.
> 
> Just to be sure, I just tried again the w1.pub public key, starting
> with 
> ssh-rsa, and I still get the "Unable to open public key file" error.
> 
> I really need an expert in this stuff, but I have not found one in
> any 
> of the fora I have tried. How can a PHP library have such a basic
> bug? 
> Why aren't the authors of the library supporting their library? Why 
> isn't anyone representing PHP concerned?
> 
> By the way, every time you post to this mailing list, you send two 
> emails. If you don't intend this, it might be a bug in your email
> program.
> 
> David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.