----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/116523/#review51922 -----------------------------------------------------------
I don't get it. What's the problem with sending a mimetype for empty files? I would think this is actually expected - for all files, including empty ones. Why does this fix the bug? - David Faure On March 2, 2014, 2:20 p.m., Dawit Alemayehu wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/116523/ > ----------------------------------------------------------- > > (Updated March 2, 2014, 2:20 p.m.) > > > Review request for kdelibs and David Faure. > > > Bugs: 323491 > http://bugs.kde.org/show_bug.cgi?id=323491 > > > Repository: kdelibs > > > Description > ------- > > 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 > ----- > > kioslave/ftp/ftp.cpp 5bb2e8d > > Diff: https://git.reviewboard.kde.org/r/116523/diff/ > > > Testing > ------- > > Attempt to copy an empty file from any ftp server to a remote destination, > e.g. sftp server. > > > Thanks, > > Dawit Alemayehu > >