Opened on Dec 7, 2007 at 12:23:14 AM
Closed on Dec 8, 2007 at 1:35:31 AM
Last modified on Jun 11, 2010 at 11:17:55 PM
#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 on Dec 7, 2007 at 7:18:56 AM 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
comment:2 Changed on Dec 7, 2007 at 6:19:57 PM 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 on Dec 7, 2007 at 10:38:00 PM 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 on Dec 7, 2007 at 10:50:10 PM by dkocher
comment:5 Changed on Dec 8, 2007 at 1:35:31 AM by dkocher
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in r3338.
comment:6 Changed on Dec 8, 2007 at 1:35:59 AM by dkocher
- Milestone changed from 2.8.3 to 2.8.2
comment:7 Changed on Jun 11, 2010 at 11:17:55 PM by moskovskie shalavy
Aloha! http://trac.stromnet.se/nis/ticket/79 shluhi moskvy hier.
This has been reported before in #1227.