Skip to content

Releases: lazzard/php-ftp-client

v1.3.0

05 Apr 17:06
Compare
Choose a tag to compare
  • WrapperException Added.
  • ConnectionInterface::isPassive Introduced.

v1.2.9

09 Mar 16:41
Compare
Choose a tag to compare
  • 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 and FtpClient::isFile compatibility with servers that not support SIZE feature.

v1.2.7

21 Feb 23:15
Compare
Choose a tag to compare
  • Added $mode parameter for FtpClient::createFile method.

v1.2.6

14 Feb 19:54
043e99a
Compare
Choose a tag to compare
  • Added FtpClient\Connection\Connection abstract class.
  • Introduced ConnectionInterface::isSecure.
  • Introduced ConnectionInterface::isConnected.

v1.2.4

12 Feb 17:04
fad541f
Compare
Choose a tag to compare
  • Introduced FtpClient::copyFromLocal.
  • Fixed FtpClient::asyncDownload method. (#8)
  • Improved markdown documentation.

v1.2.2

24 Jan 12:05
Compare
Choose a tag to compare
  • README documentation improved.

v1.2.0

12 Jan 20:18
Compare
Choose a tag to compare
  • Upgraded to PHP 5.6.0 version.
  • Supported the usePassiveAddress runtime option.
  • Added more options for unit testing (PASSIVE, INITIAL_DIR).
  • Removed USESSL option for unit testing.

v1.1.0

13 Oct 02:49
Compare
Choose a tag to compare

Removed

  • Removed FtpBaseConfig class.
  • Removed FtpClient::getTransferMode method.
  • Removed FtpClient::isEmptyDirectory & FtpClient::isEmptyFile use FtpClient::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.

v1.0.2

17 Aug 22:34
c819c88
Compare
Choose a tag to compare
  • Fix isExists method (#5).
  • Fixed error handling of createDirectory & createFile methods (#5).

v1.0.0

15 Aug 01:41
Compare
Choose a tag to compare
  • Fixed listDirectoryDetails not working with directories contains spaces. (#2)
  • Fixed listDirectoryDetails incorrect file path. (#4)