Releases: lazzard/php-ftp-client
Releases · lazzard/php-ftp-client
v1.3.0
v1.2.9
- Making methods more atomic.
- Wrapped built-in FTP extension constants, all constants are available in the
FtpWrapper
class. FtpClient::listDirectoryDetails
is now returned an associative array with file paths instead of index integers.- Fixed
FtpClient::isDir
andFtpClient::isFile
compatibility with servers that not support SIZE feature.
v1.2.7
v1.2.6
v1.2.4
v1.2.2
v1.2.0
v1.1.0
Removed
- Removed
FtpBaseConfig
class. - Removed
FtpClient::getTransferMode
method. - Removed
FtpClient::isEmptyDirectory
&FtpClient::isEmptyFile
useFtpClient::isEmpty
instead for both files and directories.
Behavior changed
FtpClient::removeFile
&FtpClient::removeDirectory
methods now doesn't throw an exception if the given file doesn't exist, but instead returns false.FtpClient::createFile
now doesn't throw an exception if the file name already exists on the server, instead, the remote file will be overwritten.FtpClient::createDirectory
now returns true if the giving directory already exists instead of throwing an exception.
Improved
- FTP error handling improved, the
FtpWrapper
is now responsible for detecting and muting FTP functions errors. - Unit tests improved.
- Docs improved.