|
1 | 1 | # TODO LIST |
2 | 2 |
|
3 | | -`Connection::isPassive` moved FtpConfig::isPassive |
4 | | -`FtpWrapper::$errorMessage` reset whenever calling a new function. |
| 3 | +## The next PHP Upgrades |
5 | 4 |
|
6 | | -## Improvements |
7 | | - |
8 | | -## PHPUnit Upgrade |
| 5 | +- [ ] 7.2v. |
| 6 | + - [ ] Create a helper method for the `ftp_append` function. |
| 7 | + - [ ] Use `ftp_mlsd` function in `FtpClient::lastMTime` to support directories type. |
| 8 | +- [ ] 7.4v. |
| 9 | +- [ ] 8.0v. |
9 | 10 |
|
10 | | -## PHP Upgrade |
| 11 | +## The next PHPUnit Upgrade |
11 | 12 |
|
12 | | -- [ ] 7.2v |
13 | | - - [ ] Use `ftp_mlsd` function in `FtpClient::listDirectoryDetails` method to get the Unix timestamps of files/directories. |
14 | | - - [ ] Use `ftp_append` function to implement a client method allows for appending remote file content. |
15 | | - - [ ] Use `ftp_mlsd` function in `FtpClient::lastMTime` to support directories type. |
| 13 | +- [ ] PHPUnit 8 (>= PHP 7.2). |
| 14 | +- [ ] PHPUnit 9 (>= PHP 7.3). |
16 | 15 |
|
17 | | -## Upcoming client methods |
| 16 | +## API methods |
18 | 17 |
|
19 | 18 | - [ ] Add `FtpClient::getTransferMode($file)` method to find the appropriate transfer mode (not based on file extension) for the giving **local** file. |
20 | | -- [ ] `FtpClient::lastMTime()` directory supporting. |
21 | | -- [ ] Add `FtpClient::append($remoteFile, $content)` method. |
22 | | -- [ ] Implement a method that allows to download all the files within the giving directory. |
| 19 | +- [ ] Implement a method that allows to download all the files within the giving remote directory. |
23 | 20 |
|
24 | 21 | ## Not wrapped FTP extension functions - why ? |
25 | 22 |
|
26 | | -- [ ] [ftp_mlsd](https://www.php.net/manual/en/function.ftp-append.php) - not supported in PHP5. |
27 | | -- [ ] [ftp_append](https://www.php.net/manual/en/function.ftp-mlsd.php) - not supported in PHP5. |
28 | 23 | - [ ] [ftp_quit](https://www.php.net/manual/en/function.ftp-quit.php) - is just an alias of [ftp_close](https://www.php.net/manual/en/function.ftp-close.php) function. |
29 | 24 | - [ ] [ftp_np_put](https://www.php.net/manual/en/function.ftp-nb-put.php) - using [ftp_np_fput](https://www.php.net/manual/en/function.ftp-nb-fput.php) instead for the upload progress. |
0 commit comments