Cyberduck Mountain Duck CLI

Opened 11 years ago

Closed 11 years ago

Last modified 9 years ago

#1400 closed defect (fixed)

Files downloaded overwritten if same name in outline hierarchy

Reported by: brians99@… Owned by: dkocher
Priority: normal Milestone: 2.8.2
Component: core Version: 2.8.1
Severity: normal Keywords:
Cc: Architecture:
Platform:

Description

When I select a folder on the server and a file inside the folder and then start a download the file is downloaded twice.

I am connected to an ftp server and have navigated to folder1 and the following is showing in the window:

/home/me/folder1

file1.zip
folder2

file2.zip


file1.zip is inside folder1
folder2 is inside folder1
file2.zip is inside folder2

I select all three entries and drag them to an empty finder window, initiating a download. The result in the finder window after the download completes is this:

file1.zip
file2.zip

folder2

file2.zip

file2.zip has been downloaded two times!

I understand why this happens but I don't think it should happen. file2.zip is downloaded once because it is selected and a second time because it is inside folder2, which was also selected.

What I expect to happen is that the files and folders downloaded end up to be the same on my local machine as they were on the server.

Change History (7)

comment:1 Changed 11 years ago by dkocher

  • Component changed from ftp to core
  • Milestone set to 2.8.3
  • Status changed from new to assigned
  • Summary changed from Cyberduck downloads the same file twice to Files downloaded overwritten if same name in outline hierarchy

This has been reported before in #1227.

comment:2 Changed 11 years ago by brianky

Let me recommend that the download behavior in outline format be modeled after the way that the Finder does a similar copy operation in outline format.

If a folder is selected and downloaded then all its contents are always downloaded and placed into a downloaded folder of the same name.

If a folder isn't selected but a file inside a folder is selected then that file is downloaded and placed at the top level in the download location.

If multiple files are selected in different folders but no folders are selected then all are downloaded to the top level in the download location.

#1227 discusses a different issue.

The name change to this ticket also suggests that you are discussing a third issue (overwriting of downloaded files when files of the same name are downloaded.)

The bug I am reporting is that a file will be downloaded two times when it shouldn't be. If a folder is selected and a file inside that folder is selected when a download is initiated then the folder and all its contents will be downloaded, as expected, but also the selected file will be downloaded and placed at the top level of the download location. The selected file should not be downloaded two times. It should only be downloaded as part of the contents of the downloaded folder. It should not be downloaded a second time and placed at the top level.

The Finder does all of this in a consistent manner and CyberDuck should do things the same way.

comment:3 Changed 11 years ago by dkocher

The issue you describe that files are downloaded twice only occurs when dragging the files to the Finder but not when just choosing 'Download' from the Menu. I just observed this. We'll try to fix both issues.

comment:4 Changed 11 years ago by dkocher

Issue as it was meant when reported fixed as of r3336. Issue #1227 still open.

comment:5 Changed 11 years ago by dkocher

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

Fixed in r3338.

comment:6 Changed 11 years ago by dkocher

  • Milestone changed from 2.8.3 to 2.8.2

comment:7 Changed 9 years ago by moskovskie shalavy

Aloha! http://trac.stromnet.se/nis/ticket/79 shluhi moskvy hier.

Note: See TracTickets for help on using tickets.
swiss made software