Re: Hoping for a working example of SFTP in PHP

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

 



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 <anrdaemon@xxxxxxxxxxx>




[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