예제 #1
0
파일: Sftp.php 프로젝트: moccalotto/ssh
 /**
  * Remote symlink.
  *
  * @param string $target
  * @param string $link
  *
  * @return bool
  */
 public function symlink($target, $link)
 {
     ssh2_sftp_symlink($this->resource, $target, $link);
 }
예제 #2
0
파일: SFTP.php 프로젝트: eroluysal/shunt
 /**
  * @{inheritDoc}
  */
 public function symlink($target = '', $link = '')
 {
     return $this->doRun(__METHOD__, func_get_args(), ssh2_sftp_symlink($this->sftp, $target, $link));
 }
예제 #3
0
 /**
  * @param $target
  * @param $link
  * @return bool
  */
 public function createSymlink($target, $link)
 {
     return ssh2_sftp_symlink($this->getSftpResource(), $target, $link);
 }
예제 #4
0
파일: Sftp.php 프로젝트: jimigrunge/php-ssh
 /**
  * Creates a symlink
  *
  * @param  string $target The target of the symlink
  * @param  string $link   The path of the link
  *
  * @return Boolean TRUE on success, or FALSE on failure
  */
 public function symlink($target, $link)
 {
     return ssh2_sftp_symlink($this->getResource(), $target, $link);
 }
예제 #5
0
파일: SSH.php 프로젝트: unionbt/hanpaimall
 public function symlink($target, $link)
 {
     return ssh2_sftp_symlink($this->_sftp, $target, $link);
 }