Re: Hoping for a working example of SFTP in PHP

[email protected] (Sam Hobbs)
Newsgroups php.general
Message-ID <[email protected]>
If the server (operating system or whatever) returns a more meaningful 
error message and/or code that is not shown when the error occurs then 
that would have helped.


David Spector wrote on 2/8/2021 7:51 AM:
> Eric, Yes, that was it! Fixing this made 'copy' work.
>
> So, PHP maintainers: why didn't the error message say that the colon 
> was missing, or include a description of correct wrapper syntax? All 
> it says is "failed to open stream", not even "syntax error in stream 
> protocol". I would fix the error message myself if I could.
>
> Thanks, Eric, for your sustained help in getting both parts of this 
> example working. You are a great human being and an inspiration.
>
> When I have time, I will clean up the examples and post them wherever 
> people are having trouble using PHP to upload files using SFTP.
>
> 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.