Cyberduck Mountain Duck CLI

#10082 closed defect (fixed)

CLI --list option overwrites the last file name when listing files from a WedDAV server

Reported by: gc001 Owned by: dkocher
Priority: normal Milestone: 6.3.3
Component: cli Version: 6.2.6
Severity: normal Keywords: CLI
Cc: Architecture:


Here is a hex dump of the last part of the output from a duck --list command:

000000e0                        0a74 656d702e            .temp.
000000f0  7478740d 44697363 6f6e6e65 6374696e  txt.Disconnectin
00000100  67206461 762e626f 782e636f 6d20e280  g ..
00000110  93205765 62444156 20284854 54505329  . WebDAV (HTTPS)
00000120  e280a60a 0a0d556e 6b6e6f77 6ee280a6  ......Unknown...

This shows the last file name (temp.txt) a carriage return (0d) followed by "Disconnecting".

With no line feed (0a) after the last file name this causes the "Disconnecting" message to overwrite the last line of output.

If the command line option --quiet is specified then the last file name displays OK.

Change History (3)

comment:1 Changed on Jan 5, 2018 at 3:29:14 PM by dkocher

  • Component changed from core to cli
  • Milestone set to 7.0
  • Owner set to dkocher
  • Status changed from new to assigned

comment:2 Changed on Jan 8, 2018 at 8:12:17 AM by yla

  • Resolution set to fixed
  • Status changed from assigned to closed

Fixed in r43635. Thanks for reporting.

comment:3 Changed on Jan 9, 2018 at 2:36:49 PM by dkocher

  • Milestone changed from 7.0 to 6.3.3
Note: See TracTickets for help on using tickets.