Connection to secure FTP Server from PHP

后端 未结 5 1056
醉梦人生
醉梦人生 2021-02-02 00:11

This question is in line with this question, I am trying to connect to secure FTP Server and it is not able to connect, wierd part is that I am able to do ssh and connect to the

5条回答
  •  攒了一身酷
    2021-02-02 01:12

    As for ´ftp via ssh´ alias ´sftp´: No direct advice, but note, that many cheap 'non-dedicated server' webhosts do not support it (which is bad). Company firewalls might block the relevant ports.

    As for 'ftp using ssl/tls' alias 'ftps': Your answer is here. Don't waste time on ftp_ssl_connect() :-)

    (Yes, it's poorly documented on the php site, to say the least)

提交回复
热议问题