https://bugzilla.mindrot.org/show_bug.cgi?id=2701

            Bug ID: 2701
           Summary: sftp and scp show wrong units for speeds and file
                    sizes in progress meter
           Product: Portable OpenSSH
           Version: 7.4p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sftp
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 2967
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2967&action=edit
Proposed patch to use units recommended by IEEE

Reading through IEEE_1541-2002 [1], OpenSSH progress meter code is
wrongly using K, M, G, T prefixes as a multiplies of 1024. The data
should be divided either by 1000 or the correct prefixes should be used
(Ki, Mi, Gi, Ti).

This can be very confusing for users [2] who compare the sizes with
other tools presenting sizes in correct format.

[1] https://en.wikipedia.org/wiki/IEEE_1541-2002

[2]
http://stackoverflow.com/questions/43115542/scp-transfer-reports-100-complete-and-is-transferred-but-file-size-is-inco

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to