Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to skip existing files on folder download #5697

Closed
cyberduck opened this issue Feb 10, 2011 · 4 comments
Closed

Option to skip existing files on folder download #5697

cyberduck opened this issue Feb 10, 2011 · 4 comments

Comments

@cyberduck
Copy link
Collaborator

@cyberduck cyberduck commented Feb 10, 2011

3ea1b88 created the issue

When downloading a folder through WebDAV containing some files that already exist locally, options are given to resume, overwrite, rename, or rename existing. It would be extremely useful if an option to "skip" existing files could be added to the dropdown (fig.2) so that any files in the network folder that don't exist in the local folder would be downloaded, but files that exist locally with the same name would be skipped.

(Basically an option to update a local mirror of a network folder without having to individually uncheck all of the files that already exist locally or overwrite/rename them).

Thanks


Attachments

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Feb 10, 2011

@dkocher commented

You can achieve this by unchecking the folder (in this case EXAM 3) which will result in all its content to be skipped as well.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Feb 10, 2011

3ea1b88 commented

Replying to [comment:1 dkocher]:

You can achieve this by unchecking the folder (in this case EXAM 3) which will result in all its content to be skipped as well.

You are correct in saying that it will skip_all_ of the folder's contents. The problem is that if_some_ of the files in the server folder are present in the local folder, it is not possible to select the folder for download and have it skip any filenames that exist and download only the files that are NOT present in the local folder (but ARE present in the server folder). Currently the only options for this behavior are:

  1. Download each file that is not present locally individually to the target directory (time consuming).
    OR
  2. Individually uncheck each file that has the same name as a local file, but leave the parent folder checked (in this case leave EXAM 3 checked, but uncheck each of the individual files inside the EXAM 3 folder in the download dialog; also time consuming).

Better example: [[br]] [[br]]
Let's say we have a network folder that looks like this:

/dav/FOLDER1
FILE1.TXT
FILE2.TXT
FILE3.TXT

and a local folder that looks like this:

/local/FOLDER1
FILE1.TXT
FILE2.TXT

Now say we choose to download /dav/FOLDER1 to /local/.

In this case the download prompt will come up saying that FILE1.TXT and FILE2.TXT both exist already, and asks what action to take. Unchecking FOLDER1 aborts the download (it will say complete, but report that zero bytes were downloaded successfully).

The proposed "skip" option would simply ignore both FILE1.TXT and FILE2.TXT (preserving the local copy), and only download FILE3.txt to /local/FOLDER1.


Sorry if my original ticket wasn't clear. This function is extremely useful when new files are added to the server daily and need to be copied to the local mirror without overwriting any changes to existing files since they were downloaded or ending up with several renamed copies of the same file.

It's the same concept as merging two local folders on a Windows machine. Windows gives the option of renaming, overwriting, or skipping files, so I'd love to see this functionality in CyberDuck as well :)

Thanks again

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Feb 12, 2011

@dkocher commented

The skip option was removed in 2350999. We may want to revert that because of the explanation above.

Loading

@cyberduck
Copy link
Collaborator Author

@cyberduck cyberduck commented Feb 28, 2011

@dkocher commented

Duplicate for #1159. Regression fixed in 2da6956.

Loading

@cyberduck cyberduck closed this Feb 28, 2011
@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants