|
| | getMetadata ($path) |
| | Get all the meta data of a file or directory.- Parameters
-
- Returns
- array|false
More...
|
| |
| | 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.- Parameters
-
- Returns
- array|false false on failure file meta data on success
More...
|
| |
| | writeStream ($path, $resource, Config $config) |
| | Write a new file using a stream.- Parameters
-
- Returns
- array|false false on failure file meta data on success
More...
|
| |
| | update ($path, $contents, Config $config) |
| | Update a file.- Parameters
-
- Returns
- array|false false on failure file meta data on success
More...
|
| |
| | updateStream ($path, $resource, Config $config) |
| | Update a file using a stream.- Parameters
-
- Returns
- array|false false on failure file meta data on success
More...
|
| |
| | rename ($path, $newpath) |
| | Rename a file.- Parameters
-
| string | $path | |
| string | $newpath | |
- Returns
- bool
More...
|
| |
| | delete ($path) |
| | Delete a file.- Parameters
-
- Returns
- bool
More...
|
| |
| | deleteDir ($dirname) |
| | Delete a directory.- Parameters
-
- Returns
- bool
More...
|
| |
| | createDir ($dirname, Config $config) |
| | Create a directory.- Parameters
-
| string | $dirname | directory name |
| Config | $config | |
- Returns
- array|false
More...
|
| |
| | getMetadata ($path) |
| | Get all the meta data of a file or directory.- Parameters
-
- Returns
- array|false
More...
|
| |
| | getMimetype ($path) |
| | Get the mimetype of a file.- Parameters
-
- Returns
- array|false
More...
|
| |
| | getTimestamp ($path) |
| | Get the timestamp of a file.- Parameters
-
- Returns
- array|false
More...
|
| |
| | read ($path) |
| | Read a file.- Parameters
-
- Returns
- array|false
More...
|
| |
| | readStream ($path) |
| | Read a file as a stream.- Parameters
-
- Returns
- array|false
More...
|
| |
| | setVisibility ($path, $visibility) |
| | Set the visibility for a file.- Parameters
-
| string | $path | |
| string | $visibility | |
- Returns
- array|false file meta data
More...
|
| |
| | isConnected () |
| | Check if the connection is open. More...
|
| |
| | __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.- Parameters
-
| string | $directory | |
| bool | $recursive | |
- Returns
- array
More...
|
| |
| | removeDotDirectories (array $list) |
| | Filter out dot-directories. More...
|
| |
| | has ($path) |
| | Check whether a file exists.- Parameters
-
- Returns
- array|bool|null
More...
|
| |
| | getSize ($path) |
| | Get the size of a file.- Parameters
-
- Returns
- array|false
More...
|
| |
| | getVisibility ($path) |
| | Get the visibility of a file.- Parameters
-
- Returns
- array|false
More...
|
| |
| | 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...
|
| |
| | 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...
|
| |
| | 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...
|
| |
Definition at line 5 of file Ftpd.php.