php - Initializing sftp subsystem via libssh2 -


i trying file remote sftp server in php script. i'm using libssh2 library ani have been able 1) open connection ssh server , 2) authenticate properly. i'm hitting wall on creating sftp resource use ssh2_sftp* functions , wrapper. following line leaves $sftp null:

      $stfp = ssh2_sftp($ftp_conn); 

php error log shows no errors. ssh server logs show successful login, authentication, , log sftp subsytem being initialized. ideas on next?


Comments

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -