Skip to content

v1.1.0

Compare
Choose a tag to compare
@AmraniCh AmraniCh released this 13 Oct 02:49
· 253 commits to master since this release

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.