示例#1
0
文件: Sftp.php 项目: moccalotto/ssh
 /**
  * Return the target of a remote link.
  *
  * @param string $link
  *
  * @return string
  */
 public function readlink($link)
 {
     ssh2_sftp_readlink($this->resource, $link);
 }
示例#2
0
 /**
  * Returns the target of a symbolic link
  *
  * @param  string $link The path of the symbolic link
  *
  * @return string The target of the symbolic link
  */
 public function readlink($link)
 {
     return ssh2_sftp_readlink($this->getResource(), $link);
 }
示例#3
0
文件: SFTP.php 项目: eroluysal/shunt
 /**
  * @{inheritDoc}
  */
 public function readlink($link = '')
 {
     return $this->doRun(__METHOD__, func_get_args(), ssh2_sftp_readlink($this->sftp, $link));
 }
示例#4
0
 public function readlink($link)
 {
     return ssh2_sftp_readlink($this->_sftp, $link);
 }