|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for League\Flysystem\Adapter\Ftp:
Collaboration diagram for League\Flysystem\Adapter\Ftp:Public Member Functions | |||||||
| setTransferMode ($mode) | |||||||
| Set the transfer mode. More... | |||||||
| setSsl ($ssl) | |||||||
| Set if Ssl is enabled. More... | |||||||
| setPassive ($passive=true) | |||||||
| Set if passive mode should be used. More... | |||||||
| setIgnorePassiveAddress ($ignorePassiveAddress) | |||||||
| setRecurseManually ($recurseManually) | |||||||
| setUtf8 ($utf8) | |||||||
| connect () | |||||||
| Connect to the FTP server. More... | |||||||
| disconnect () | |||||||
| Disconnect from the FTP server. More... | |||||||
| write ($path, $contents, Config $config) | |||||||
Write a new file.
| |||||||
| writeStream ($path, $resource, Config $config) | |||||||
Write a new file using a stream.
| |||||||
| update ($path, $contents, Config $config) | |||||||
Update a file.
| |||||||
| updateStream ($path, $resource, Config $config) | |||||||
Update a file using a stream.
| |||||||
| rename ($path, $newpath) | |||||||
Rename a file.
| |||||||
| delete ($path) | |||||||
Delete a file.
| |||||||
| deleteDir ($dirname) | |||||||
Delete a directory.
| |||||||
| createDir ($dirname, Config $config) | |||||||
Create a directory.
| |||||||
| getMetadata ($path) | |||||||
Get all the meta data of a file or directory.
| |||||||
| getMimetype ($path) | |||||||
Get the mimetype of a file.
| |||||||
| getTimestamp ($path) | |||||||
Get the timestamp of a file.
| |||||||
| read ($path) | |||||||
Read a file.
| |||||||
| readStream ($path) | |||||||
Read a file as a stream.
| |||||||
| setVisibility ($path, $visibility) | |||||||
Set the visibility for a file.
| |||||||
| isConnected () | |||||||
| Check if the connection is open. More... | |||||||
Public Member Functions inherited from League\Flysystem\Adapter\AbstractFtpAdapter | |||||||
| __construct (array $config) | |||||||
| Constructor. More... | |||||||
| setConfig (array $config) | |||||||
| Set the config. More... | |||||||
| getHost () | |||||||
| Returns the host. More... | |||||||
| setHost ($host) | |||||||
| Set the host. More... | |||||||
| setPermPublic ($permPublic) | |||||||
| Set the public permission value. More... | |||||||
| setPermPrivate ($permPrivate) | |||||||
| Set the private permission value. More... | |||||||
| getPort () | |||||||
| Returns the ftp port. More... | |||||||
| getRoot () | |||||||
| Returns the root folder to work from. More... | |||||||
| setPort ($port) | |||||||
| Set the ftp port. More... | |||||||
| setRoot ($root) | |||||||
| Set the root folder to work from. More... | |||||||
| getUsername () | |||||||
| Returns the ftp username. More... | |||||||
| setUsername ($username) | |||||||
| Set ftp username. More... | |||||||
| getPassword () | |||||||
| Returns the password. More... | |||||||
| setPassword ($password) | |||||||
| Set the ftp password. More... | |||||||
| getTimeout () | |||||||
| Returns the amount of seconds before the connection will timeout. More... | |||||||
| setTimeout ($timeout) | |||||||
| Set the amount of seconds before the connection should timeout. More... | |||||||
| getSystemType () | |||||||
| Return the FTP system type. More... | |||||||
| setSystemType ($systemType) | |||||||
| Set the FTP system type (windows or unix). More... | |||||||
| listContents ($directory='', $recursive=false) | |||||||
List contents of a directory.
| |||||||
| removeDotDirectories (array $list) | |||||||
| Filter out dot-directories. More... | |||||||
| has ($path) | |||||||
Check whether a file exists.
| |||||||
| getSize ($path) | |||||||
Get the size of a file.
| |||||||
| getVisibility ($path) | |||||||
Get the visibility of a file.
| |||||||
| ensureDirectory ($dirname) | |||||||
| Ensure a directory exists. More... | |||||||
| getConnection () | |||||||
| getPermPublic () | |||||||
| Get the public permission value. More... | |||||||
| getPermPrivate () | |||||||
| Get the private permission value. More... | |||||||
| __destruct () | |||||||
| Disconnect on destruction. More... | |||||||
| connect () | |||||||
| Establish a connection. More... | |||||||
| disconnect () | |||||||
| Close the connection. More... | |||||||
| isConnected () | |||||||
| Check if a connection is active. More... | |||||||
Public Member Functions inherited from League\Flysystem\Adapter\AbstractAdapter | |||||||
| setPathPrefix ($prefix) | |||||||
| Set the path prefix. More... | |||||||
| getPathPrefix () | |||||||
| Get the path prefix. More... | |||||||
| applyPathPrefix ($path) | |||||||
| Prefix a path. More... | |||||||
| removePathPrefix ($path) | |||||||
| Remove a path prefix. More... | |||||||
Public Member Functions inherited from League\Flysystem\AdapterInterface | |||||||
| write ($path, $contents, Config $config) | |||||||
| Write a new file. More... | |||||||
| writeStream ($path, $resource, Config $config) | |||||||
| Write a new file using a stream. More... | |||||||
| update ($path, $contents, Config $config) | |||||||
| Update a file. More... | |||||||
| updateStream ($path, $resource, Config $config) | |||||||
| Update a file using a stream. More... | |||||||
| rename ($path, $newpath) | |||||||
| Rename a file. More... | |||||||
| copy ($path, $newpath) | |||||||
| Copy a file. More... | |||||||
| delete ($path) | |||||||
| Delete a file. More... | |||||||
| deleteDir ($dirname) | |||||||
| Delete a directory. More... | |||||||
| createDir ($dirname, Config $config) | |||||||
| Create a directory. More... | |||||||
| setVisibility ($path, $visibility) | |||||||
| Set the visibility for a file. More... | |||||||
| has ($path) | |||||||
| Check whether a file exists. More... | |||||||
| read ($path) | |||||||
| Read a file. More... | |||||||
| readStream ($path) | |||||||
| Read a file as a stream. More... | |||||||
| listContents ($directory='', $recursive=false) | |||||||
| List contents of a directory. More... | |||||||
| getMetadata ($path) | |||||||
| Get all the meta data of a file or directory. More... | |||||||
| getSize ($path) | |||||||
| Get the size of a file. More... | |||||||
| getMimetype ($path) | |||||||
| Get the mimetype of a file. More... | |||||||
| getTimestamp ($path) | |||||||
| Get the timestamp of a file. More... | |||||||
| getVisibility ($path) | |||||||
| Get the visibility of a file. More... | |||||||
Protected Member Functions | |
| setUtf8Mode () | |
| Set the connection to UTF-8 mode. More... | |
| setConnectionPassiveMode () | |
| Set the connections to passive mode. More... | |
| setConnectionRoot () | |
| Set the connection root. More... | |
| login () | |
| Login. More... | |
| createActualDirectory ($directory, $connection) | |
| Create a directory. More... | |
| listDirectoryContents ($directory, $recursive=true) | |
| listDirectoryContentsRecursive ($directory) | |
| isPureFtpdServer () | |
| ftpRawlist ($options, $path) | |
| The ftp_rawlist function with optional escaping. More... | |
Protected Member Functions inherited from League\Flysystem\Adapter\AbstractFtpAdapter | |
| listDirectoryContents ($directory, $recursive=false) | |
| normalizeListing (array $listing, $prefix='') | |
| Normalize a directory listing. More... | |
| sortListing (array $result) | |
| Sort a directory listing. More... | |
| normalizeObject ($item, $base) | |
| Normalize a file entry. More... | |
| normalizeUnixObject ($item, $base) | |
| Normalize a Unix file entry. More... | |
| normalizeWindowsObject ($item, $base) | |
| Normalize a Windows/DOS file entry. More... | |
| detectSystemType ($item) | |
| Get the system type from a listing item. More... | |
| detectType ($permissions) | |
| Get the file type from the permissions. More... | |
| normalizePermissions ($permissions) | |
| Normalize a permissions string. More... | |
Protected Attributes | |
| $transferMode = FTP_BINARY | |
| $ignorePassiveAddress = null | |
| $recurseManually = false | |
| $utf8 = false | |
| $configurable | |
| $isPureFtpd | |
Protected Attributes inherited from League\Flysystem\Adapter\AbstractFtpAdapter | |
| $connection | |
| $host | |
| $port = 21 | |
| $ssl = false | |
| $timeout = 90 | |
| $passive = true | |
| $separator = '/' | |
| $root | |
| $permPublic = 0744 | |
| $permPrivate = 0700 | |
| $configurable = [] | |
| $systemType | |
| $alternativeRecursion = false | |
| $safeStorage | |
Protected Attributes inherited from League\Flysystem\Adapter\AbstractAdapter | |
| $pathPrefix | |
| $pathSeparator = '/' | |
Additional Inherited Members | |
Data Fields inherited from League\Flysystem\AdapterInterface | |
| const | VISIBILITY_PUBLIC = 'public' |
| @const VISIBILITY_PUBLIC public visibility More... | |
| const | VISIBILITY_PRIVATE = 'private' |
| @const VISIBILITY_PRIVATE private visibility More... | |
| League\Flysystem\Adapter\Ftp::connect | ( | ) |
Connect to the FTP server.
Reimplemented from League\Flysystem\Adapter\AbstractFtpAdapter.
Definition at line 128 of file Ftp.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\getHost(), League\Flysystem\Adapter\AbstractFtpAdapter\getPort(), League\Flysystem\Adapter\AbstractFtpAdapter\getTimeout(), League\Flysystem\Adapter\Ftp\isPureFtpdServer(), League\Flysystem\Adapter\Ftp\login(), League\Flysystem\Adapter\Ftp\setConnectionPassiveMode(), League\Flysystem\Adapter\Ftp\setConnectionRoot(), and League\Flysystem\Adapter\Ftp\setUtf8Mode().
Here is the call graph for this function:
|
protected |
Create a directory.
| string | $directory | |
| resource | $connection |
Definition at line 360 of file Ftp.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$connection, and $key.
Referenced by League\Flysystem\Adapter\Ftp\createDir().
Here is the caller graph for this function:| League\Flysystem\Adapter\Ftp::createDir | ( | $dirname, | |
| Config | $config | ||
| ) |
Create a directory.
| string | $dirname | directory name |
| Config | $config |
Implements League\Flysystem\AdapterInterface.
Definition at line 332 of file Ftp.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$connection, League\Flysystem\Adapter\Ftp\createActualDirectory(), League\Flysystem\Adapter\AbstractFtpAdapter\getConnection(), and League\Flysystem\Adapter\Ftp\setConnectionRoot().
Here is the call graph for this function:| League\Flysystem\Adapter\Ftp::delete | ( | $path | ) |
Delete a file.
| string | $path |
Implements League\Flysystem\AdapterInterface.
Definition at line 303 of file Ftp.php.
References $path, and League\Flysystem\Adapter\AbstractFtpAdapter\getConnection().
Here is the call graph for this function:| League\Flysystem\Adapter\Ftp::deleteDir | ( | $dirname | ) |
Delete a directory.
| string | $dirname |
Implements League\Flysystem\AdapterInterface.
Definition at line 311 of file Ftp.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$connection, $contents, League\Flysystem\Adapter\AbstractFtpAdapter\getConnection(), and League\Flysystem\Adapter\Ftp\listDirectoryContents().
Here is the call graph for this function:| League\Flysystem\Adapter\Ftp::disconnect | ( | ) |
Disconnect from the FTP server.
Reimplemented from League\Flysystem\Adapter\AbstractFtpAdapter.
Definition at line 226 of file Ftp.php.
Referenced by League\Flysystem\Adapter\Ftp\login().
Here is the caller graph for this function:
|
protected |
The ftp_rawlist function with optional escaping.
| string | $options | |
| string | $path |
Definition at line 560 of file Ftp.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$connection, $options, $path, and League\Flysystem\Adapter\AbstractFtpAdapter\getConnection().
Referenced by League\Flysystem\Adapter\Ftp\getMetadata(), League\Flysystem\Adapter\Ftp\listDirectoryContents(), and League\Flysystem\Adapter\Ftp\listDirectoryContentsRecursive().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Ftp::getMetadata | ( | $path | ) |
Get all the meta data of a file or directory.
| string | $path |
Implements League\Flysystem\ReadInterface.
Reimplemented in League\Flysystem\Adapter\Ftpd.
Definition at line 381 of file Ftp.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$connection, $path, League\Flysystem\Adapter\Ftp\ftpRawlist(), League\Flysystem\Adapter\AbstractFtpAdapter\getConnection(), League\Flysystem\Adapter\AbstractFtpAdapter\normalizeObject(), and League\Flysystem\Adapter\Ftp\setConnectionRoot().
Referenced by League\Flysystem\Adapter\Ftp\getMimetype().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Ftp::getMimetype | ( | $path | ) |
Get the mimetype of a file.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 415 of file Ftp.php.
References $metadata, $path, League\Flysystem\Util\MimeType\detectByFilename(), and League\Flysystem\Adapter\Ftp\getMetadata().
Here is the call graph for this function:| League\Flysystem\Adapter\Ftp::getTimestamp | ( | $path | ) |
Get the timestamp of a file.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 429 of file Ftp.php.
References $path, $timestamp, and League\Flysystem\Adapter\AbstractFtpAdapter\getConnection().
Here is the call graph for this function:| League\Flysystem\Adapter\Ftp::isConnected | ( | ) |
Check if the connection is open.
| ErrorException |
Reimplemented from League\Flysystem\Adapter\AbstractFtpAdapter.
Definition at line 529 of file Ftp.php.
|
protected |
Definition at line 545 of file Ftp.php.
References $response.
Referenced by League\Flysystem\Adapter\Ftp\connect().
Here is the caller graph for this function:
|
protected |
| string | $directory |
Reimplemented from League\Flysystem\Adapter\AbstractFtpAdapter.
Reimplemented in League\Flysystem\Adapter\Ftpd.
Definition at line 489 of file Ftp.php.
References $options, League\Flysystem\Adapter\Ftp\ftpRawlist(), League\Flysystem\Adapter\Ftp\listDirectoryContentsRecursive(), and League\Flysystem\Adapter\AbstractFtpAdapter\normalizeListing().
Referenced by League\Flysystem\Adapter\Ftp\deleteDir().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
| string | $directory |
Definition at line 508 of file Ftp.php.
References $output, League\Flysystem\Adapter\Ftp\ftpRawlist(), League\Flysystem\Adapter\Ftp\listDirectoryContentsRecursive(), and League\Flysystem\Adapter\AbstractFtpAdapter\normalizeListing().
Referenced by League\Flysystem\Adapter\Ftp\listDirectoryContents(), and League\Flysystem\Adapter\Ftp\listDirectoryContentsRecursive().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Login.
| RuntimeException |
Definition at line 204 of file Ftp.php.
References League\Flysystem\Adapter\Ftp\disconnect(), League\Flysystem\Adapter\AbstractFtpAdapter\getHost(), League\Flysystem\Adapter\AbstractFtpAdapter\getPassword(), League\Flysystem\Adapter\AbstractFtpAdapter\getPort(), and League\Flysystem\Adapter\AbstractFtpAdapter\getUsername().
Referenced by League\Flysystem\Adapter\Ftp\connect().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Ftp::read | ( | $path | ) |
Read a file.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 439 of file Ftp.php.
References $path, and League\Flysystem\Adapter\Ftp\readStream().
Here is the call graph for this function:| League\Flysystem\Adapter\Ftp::readStream | ( | $path | ) |
Read a file as a stream.
| string | $path |
Implements League\Flysystem\ReadInterface.
Definition at line 455 of file Ftp.php.
References $path, $result, GuzzleHttp\Psr7\$stream, and League\Flysystem\Adapter\AbstractFtpAdapter\getConnection().
Referenced by League\Flysystem\Adapter\Ftp\read().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Ftp::rename | ( | $path, | |
| $newpath | |||
| ) |
Rename a file.
| string | $path | |
| string | $newpath |
Implements League\Flysystem\AdapterInterface.
Definition at line 295 of file Ftp.php.
References $path, and League\Flysystem\Adapter\AbstractFtpAdapter\getConnection().
Here is the call graph for this function:
|
protected |
Set the connections to passive mode.
| RuntimeException |
Definition at line 167 of file Ftp.php.
References defined, League\Flysystem\Adapter\AbstractFtpAdapter\getHost(), and League\Flysystem\Adapter\AbstractFtpAdapter\getPort().
Referenced by League\Flysystem\Adapter\Ftp\connect().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Set the connection root.
Definition at line 183 of file Ftp.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$connection, League\Flysystem\Adapter\AbstractFtpAdapter\$root, and League\Flysystem\Adapter\AbstractFtpAdapter\getRoot().
Referenced by League\Flysystem\Adapter\Ftp\connect(), League\Flysystem\Adapter\Ftp\createDir(), and League\Flysystem\Adapter\Ftp\getMetadata().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Ftp::setIgnorePassiveAddress | ( | $ignorePassiveAddress | ) |
| bool | $ignorePassiveAddress |
Definition at line 104 of file Ftp.php.
References League\Flysystem\Adapter\Ftp\$ignorePassiveAddress.
| League\Flysystem\Adapter\Ftp::setPassive | ( | $passive = true | ) |
Set if passive mode should be used.
| bool | $passive |
Definition at line 96 of file Ftp.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$passive.
| League\Flysystem\Adapter\Ftp::setRecurseManually | ( | $recurseManually | ) |
| bool | $recurseManually |
Definition at line 112 of file Ftp.php.
References League\Flysystem\Adapter\Ftp\$recurseManually.
| League\Flysystem\Adapter\Ftp::setSsl | ( | $ssl | ) |
Set if Ssl is enabled.
| bool | $ssl |
Definition at line 84 of file Ftp.php.
References League\Flysystem\Adapter\AbstractFtpAdapter\$ssl.
| League\Flysystem\Adapter\Ftp::setTransferMode | ( | $mode | ) |
| League\Flysystem\Adapter\Ftp::setUtf8 | ( | $utf8 | ) |
| bool | $utf8 |
Definition at line 120 of file Ftp.php.
References League\Flysystem\Adapter\Ftp\$utf8.
|
protected |
Set the connection to UTF-8 mode.
Definition at line 150 of file Ftp.php.
References $response, League\Flysystem\Adapter\AbstractFtpAdapter\getHost(), and League\Flysystem\Adapter\AbstractFtpAdapter\getPort().
Referenced by League\Flysystem\Adapter\Ftp\connect().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Ftp::setVisibility | ( | $path, | |
| $visibility | |||
| ) |
Set the visibility for a file.
| string | $path | |
| string | $visibility |
Implements League\Flysystem\AdapterInterface.
Definition at line 473 of file Ftp.php.
References $path, League\Flysystem\Adapter\AbstractFtpAdapter\getConnection(), League\Flysystem\Adapter\AbstractFtpAdapter\getPermPrivate(), League\Flysystem\Adapter\AbstractFtpAdapter\getPermPublic(), and League\Flysystem\AdapterInterface\VISIBILITY_PUBLIC.
Referenced by League\Flysystem\Adapter\Ftp\writeStream().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Ftp::update | ( | $path, | |
| $contents, | |||
| Config | $config | ||
| ) |
Update a file.
Implements League\Flysystem\AdapterInterface.
Definition at line 279 of file Ftp.php.
References $contents, $path, and League\Flysystem\Adapter\Ftp\write().
Here is the call graph for this function:| League\Flysystem\Adapter\Ftp::updateStream | ( | $path, | |
| $resource, | |||
| Config | $config | ||
| ) |
Update a file using a stream.
Implements League\Flysystem\AdapterInterface.
Definition at line 287 of file Ftp.php.
References $config, $path, and League\Flysystem\Adapter\Ftp\writeStream().
Here is the call graph for this function:| League\Flysystem\Adapter\Ftp::write | ( | $path, | |
| $contents, | |||
| Config | $config | ||
| ) |
Write a new file.
Implements League\Flysystem\AdapterInterface.
Definition at line 238 of file Ftp.php.
References $contents, $path, $result, GuzzleHttp\Psr7\$stream, League\Flysystem\Util\guessMimeType(), and League\Flysystem\Adapter\Ftp\writeStream().
Referenced by League\Flysystem\Adapter\Ftp\update().
Here is the call graph for this function:
Here is the caller graph for this function:| League\Flysystem\Adapter\Ftp::writeStream | ( | $path, | |
| $resource, | |||
| Config | $config | ||
| ) |
Write a new file using a stream.
Implements League\Flysystem\AdapterInterface.
Definition at line 259 of file Ftp.php.
References $config, $path, $type, League\Flysystem\Util\dirname(), League\Flysystem\Adapter\AbstractFtpAdapter\ensureDirectory(), League\Flysystem\Adapter\AbstractFtpAdapter\getConnection(), and League\Flysystem\Adapter\Ftp\setVisibility().
Referenced by League\Flysystem\Adapter\Ftp\updateStream(), and League\Flysystem\Adapter\Ftp\write().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
|
protected |
Definition at line 25 of file Ftp.php.
Referenced by League\Flysystem\Adapter\Ftp\setIgnorePassiveAddress().
|
protected |
Definition at line 30 of file Ftp.php.
Referenced by League\Flysystem\Adapter\Ftp\setRecurseManually().
|
protected |
|
protected |
Definition at line 35 of file Ftp.php.
Referenced by League\Flysystem\Adapter\Ftp\setUtf8().