Ejemplo n.º 1
0
 /**
  * Remote symlink.
  *
  * @param string $target
  * @param string $link
  *
  * @return bool
  */
 public function symlink($target, $link)
 {
     ssh2_sftp_symlink($this->resource, $target, $link);
 }
Ejemplo n.º 2
0
 /**
  * @{inheritDoc}
  */
 public function symlink($target = '', $link = '')
 {
     return $this->doRun(__METHOD__, func_get_args(), ssh2_sftp_symlink($this->sftp, $target, $link));
 }
Ejemplo n.º 3
0
 /**
  * @param $target
  * @param $link
  * @return bool
  */
 public function createSymlink($target, $link)
 {
     return ssh2_sftp_symlink($this->getSftpResource(), $target, $link);
 }
Ejemplo n.º 4
0
 /**
  * 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);
 }
Ejemplo n.º 5
0
 public function symlink($target, $link)
 {
     return ssh2_sftp_symlink($this->_sftp, $target, $link);
 }