Connection to secure FTP Server from PHP

后端 未结 5 1059
醉梦人生
醉梦人生 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 00:47

    I tried the phpseclib library and it works in Windows and Linux.

    If you are using composer, just add in your require section :

    "phpseclib/phpseclib": "0.3.*@dev"
    

    And then, you can do this : http://phpseclib.sourceforge.net/sftp/examples.html#put

提交回复
热议问题