Using phpseclib via resource of type (SSH2 SFTP) -


i'm working on intranet application company need actions on sftp servers. so, want use phpseclib because need complex functions rawlist, lstat... problem don't have access host, or password. have access function return me resoource of type (ssh2 session). can obtain ressource of type (ssh2 sftp) using php function ssh2_sftp. basically, want use ressource connect phpseclib. possible (even if changement in constructor of phpseclib net_sftp needed)? thanks.

that, unfortunately, cannot done. phpseclib implements sftp sending raw ssh2 packets. libssh2 pecl extension gather you're using doesn't let programs send own raw requests, hence phpseclib's being unusable it.

i gather server you're using running modified version of php ssh2_return_resource()-type function built binary already?


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -