depage-fs
Loading...
Searching...
No Matches
FsSsh Class Reference

Detailed Description

Definition at line 5 of file FsSsh.php.

Public Member Functions

 __construct ($params=array())
 __destruct ()
 getFingerprint ()
Public Member Functions inherited from Fs
 pwd ()
 ls ($url)
 lsDir ($path='')
 lsFiles ($path='')
 exists ($remotePath)
 fileInfo ($remotePath)
 cd ($url)
 mkdir ($pathName, $mode=0777, $recursive=true)
 rm ($url)
 copy ($sourcePath, $targetPath)
 mv ($sourcePath, $targetPath)
 get ($remotePath, $local=null)
 put ($local, $remotePath)
 getString ($remotePath)
 putString ($remotePath, $string)
 test (&$error=null)
 depageFsErrorHandler ($errno, $errstr, $errfile, $errline, array $errcontext)
 file_put_contents ($filename, $data, $flags=0, $context=null)
 Hook, allows overriding of file_put_contents function.

Protected Member Functions

 getConnection (&$fingerprint=null)
 getSession ()
 authenticateByPassword ($connection)
 authenticateByKey ($connection)
 isValidKeyCombination ()
 disconnect ()
 lateConnect ()
 buildUrl ($parsed, $showPass=true)
 rename ($source, $target)
 Hook, allows overriding of rename function.
Protected Member Functions inherited from Fs
 preCommandHook ()
 postCommandHook ()
 setBase ($path)
 setErrorHandler ($start)
 cleanUrl ($url, $showPass=true)
 cleanPath ($path)
 extractFileName ($path)
 lsFilter ($path='', $function)
 matchNodesInPath ($path, $pattern)
 lsRecursive ($path, $current)
 rmRecursive ($cleanUrl)
 scandir ($cleanUrl='', $hidden=null)
 rmdir ($url)
 Hook, allows overriding of rmdir function.

Protected Attributes

 $session
 $connection
 $privateKeyFile
 $publicKeyFile
 $privateKey
 $publicKey
 $fingerprint
 $tmp
Protected Attributes inherited from Fs
 $currentPath
 $base
 $url
 $hidden
 $streamContextOptions = array()
 $streamContext

Additional Inherited Members

Static Public Member Functions inherited from Fs
static factory ($url, $params=array())
static parseUrl ($url)
Static Protected Member Functions inherited from Fs
static schemeAlias ($alias='')

Constructor & Destructor Documentation

◆ __construct()

__construct ( $params = array())

Reimplemented from Fs.

Definition at line 15 of file FsSsh.php.

◆ __destruct()

__destruct ( )

Definition at line 25 of file FsSsh.php.

Member Function Documentation

◆ authenticateByKey()

authenticateByKey ( $connection)
protected

Definition at line 85 of file FsSsh.php.

◆ authenticateByPassword()

authenticateByPassword ( $connection)
protected

Definition at line 77 of file FsSsh.php.

◆ buildUrl()

buildUrl ( $parsed,
$showPass = true )
protected

Reimplemented from Fs.

Definition at line 135 of file FsSsh.php.

◆ disconnect()

disconnect ( )
protected

Definition at line 123 of file FsSsh.php.

◆ getConnection()

getConnection ( & $fingerprint = null)
protected

Definition at line 35 of file FsSsh.php.

◆ getFingerprint()

getFingerprint ( )

Definition at line 30 of file FsSsh.php.

◆ getSession()

getSession ( )
protected

Definition at line 48 of file FsSsh.php.

◆ isValidKeyCombination()

isValidKeyCombination ( )
protected

Definition at line 118 of file FsSsh.php.

◆ lateConnect()

lateConnect ( )
protected

Reimplemented from Fs.

Definition at line 129 of file FsSsh.php.

◆ rename()

rename ( $source,
$target )
protected

Reimplemented from Fs.

Definition at line 151 of file FsSsh.php.

Field Documentation

◆ $connection

$connection
protected

Definition at line 8 of file FsSsh.php.

◆ $fingerprint

$fingerprint
protected

Definition at line 13 of file FsSsh.php.

◆ $privateKey

$privateKey
protected

Definition at line 11 of file FsSsh.php.

◆ $privateKeyFile

$privateKeyFile
protected

Definition at line 9 of file FsSsh.php.

◆ $publicKey

$publicKey
protected

Definition at line 12 of file FsSsh.php.

◆ $publicKeyFile

$publicKeyFile
protected

Definition at line 10 of file FsSsh.php.

◆ $session

$session
protected

Definition at line 7 of file FsSsh.php.

◆ $tmp

$tmp
protected

Definition at line 14 of file FsSsh.php.


The documentation for this class was generated from the following file: