diff --git a/ATxService/RoboCommand.cs b/ATxService/RoboCommand.cs index d4ce7d18b45f75a823d36869ac9989c6e2bf8ad7..c8f30d890ed561d7f2397e707e2c1d3cbb18501a 100644 --- a/ATxService/RoboCommand.cs +++ b/ATxService/RoboCommand.cs @@ -120,7 +120,8 @@ namespace ATxService // WARNING: RoboSharp doesn't seem to offer a culture invariant representation // of the FileClass, so this might fail in non-english environments: if (processed.FileClass.ToLower().Equals("new file")) { - _transferredFiles.Add(processed.Name + " (" + (processed.Size / 1048576) + " MB)"); + _transferredFiles.Add(string.Format("{0} ({1})", processed.Name, + Conv.BytesToString(processed.Size))); } } catch (Exception ex) {