Re: Hoping for a working example of SFTP in PHP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux