Re: Hoping for a working example of SFTP in PHP
[email protected] (David Spector)
| Newsgroups | php.general |
|---|---|
| Message-ID | <[email protected]> |
Dear Peter, Unfortunately, I agree with you, now that I think about it: the error message is correct as it stands. The error happened because there is no 'ssh2.sftp' folder on my local webserver. It is most unfortunate that two slashes in a row are allowed in pathnames. Some redundancy in specifying protocols would have been useful here. Microsoft network share names have two slashes in a row, with no preceding colon. And in other contexts, two slashes in a row are frequently treated as one slash. Both behaviors make programming using protocols somewhat more difficult to debug. David