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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -