Review Request 116523: Do not call ftpSendMimeType for empty files in Ftp::ftpGet

Dawit Alemayehu adawit at kde.org
Sun Mar 2 14:20:40 GMT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116523/
-----------------------------------------------------------

Review request for kdelibs and David Faure.


Summary (updated)
-----------------

Do not call ftpSendMimeType for empty files in Ftp::ftpGet


Bugs: 323491
    http://bugs.kde.org/show_bug.cgi?id=323491


Repository: kdelibs


Description (updated)
-------

The attached patch fixes a bug where copying empty files (size == 0) from an ftp server to any other remote server (sftp, ftp) results in an error message that states the file could not be opened.


Diffs (updated)
-----

  kioslave/ftp/ftp.cpp 5bb2e8d 

Diff: https://git.reviewboard.kde.org/r/116523/diff/


Testing (updated)
-------

Attempt to copy an empty file from any ftp server to a remote destination, e.g. sftp server.


Thanks,

Dawit Alemayehu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140302/1ceffb29/attachment.htm>


More information about the kde-core-devel mailing list