Re: Hoping for a working example of SFTP in PHP

[email protected] (Andrey Repin)
Newsgroups php.general
Message-ID <[email protected]>
Greetings, David Spector.
In reply to Your message dated Monday, February 8, 2021, 20:06:49,

> 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.

The colon (and the scheme) is implied.

> 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.

Right, but like many other things in the world, you just have to know (learn)
this at one point.
POSIX define behavior for paths with two leading slashes as platform
specific.


-- 
Sincerely Yours, Andrey Repin <[email protected]>
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.