Bug 305123

Summary: Using Synchronizer to compare content with ftp server generates errors for files with the length of 0 bytes.
Product: [Applications] krusader Reporter: Gilbertus Albans <bugs.kde.org>
Component: synchronizeAssignee: Krusader Bugs Distribution List <krusader-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alex.bikadorov, krusader-bugs-null
Priority: NOR    
Version First Reported In: 2.4.0-beta3 "Single Step"   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gilbertus Albans 2012-08-14 08:53:08 UTC
Using Synchronizer to compare content with ftp server generates errors for files with the length of 0 bytes. It stops on every single file which size is 0 bytes and shows error dialog. Example error message "IO error at comparing file /home/user/test/a.txt with ftp://user@ftp.server.com/test/a.txt!". Its an old bug that annoys when you synchronize big structure of files.

Reproducible: Always

Steps to Reproduce:
1. Create new test folder and new empty file inside
2. Copy folder to ftp server
3. Synchronize content of folder with option "Compare by content"
Actual Results:  
Error message. Example: "IO error at comparing file /home/user/test/a.txt with ftp://user@ftp.server.com/test/a.txt!".

Expected Results:  
Synchronize directory without error messages.
Comment 1 Jekyll Wu 2012-11-08 04:41:23 UTC
Reproduciable using 2.4.0-beta3 when "Compare by content" is enabled.
Comment 2 Alex Bikadorov 2017-05-18 19:54:57 UTC
It's a bug in KIO.

*** This bug has been marked as a duplicate of bug 379787 ***