请问php中ssh2如何检测判断远程目录是否已经创建存在?还有远程的文件是否存在?
网友回复
很简单,通过file_exists
<?php $connection = ssh2_connect('shell.example.com', 22); ssh2_auth_passw...
点击查看剩余70%
请问php中ssh2如何检测判断远程目录是否已经创建存在?还有远程的文件是否存在?
网友回复
很简单,通过file_exists
<?php $connection = ssh2_connect('shell.example.com', 22); ssh2_auth_passw...
点击查看剩余70%