filebrowser icon indicating copy to clipboard operation
filebrowser copied to clipboard

Ignore/Replace/Cancel behavior of existing directories and files

Open masterflinter opened this issue 5 months ago • 8 comments

Description I was uploading a large amount of directories/files and the upload was interrupted. To restart the upload I selected the same directory and was expecting the option to Ignore or Replace or Cancel. I was only asked if I wanted to Replace. However, despite choosing to Replace the behavior seemed to actually Ignore files that already existed (based on time stamps of when the files were created and length of upload).

Expected behaviour

  1. When uploading directories and files that already exist I expect to be given the options to Ignore, Replace, or Cancel.
  2. When choosing to Replace I expect the files to actually be replaced.

What is happening instead?

  1. I am only given the option to Replace or Cancel when uploading directories and files that already exist.
  2. Directories and files that are selected to Replace should be Replaced, not Ignored, even though in this scenario it is functionally identical.

How to reproduce? Upload directories and files that already exist.

masterflinter avatar Jun 30 '25 22:06 masterflinter

Great idea. Lots of these usuability improvements will come in 0.8.0 and 0.9.0 soon. I will add this to the roadmap

gtsteffaniak avatar Jul 01 '25 16:07 gtsteffaniak

I believe this behavior is fixed already with the new upload prompt, or at least improved experience.

gtsteffaniak avatar Jul 21 '25 23:07 gtsteffaniak

This is better for sure although I personally would like for the popup to ask if I want to ignore or replace with the cancel button as is. But it is not urgent by any means. Thank you for your contributions

masterflinter avatar Jul 22 '25 03:07 masterflinter

Yeah makes sense I will keep that in mind.

gtsteffaniak avatar Jul 22 '25 21:07 gtsteffaniak

I believe this is no longer an issue? can it be closed?

gtsteffaniak avatar Oct 18 '25 00:10 gtsteffaniak

Hi, just my opinion but I think that can be improved...

Right now we have three buttons "cancel" "rename" "replace", they are working fine but I'd prefer a extra button for ignore how @masterflinter said and still uploading the remaining files that are not conflicting.

When uploading a folder with a lot of items conflicting and some that not, if I click cancel the entire upload process is aborted (the two prompts are closed), if I click rename or replace, all the files are uploaded again...

Also, maybe add a toggle for apply the action (rename, replace or ignore) to all files or let you select one by one which files you want to apply that action. I think can be a good thing to have.

Kurami32 avatar Oct 18 '25 01:10 Kurami32

yes I agree with @Kurami32, I would appreciate an ignore button for exactly the situation he described. My wife and I use this frequently for uploading large directories and sometimes a batch gets interrupted. An ignore button would let us essentially start where we left off.

masterflinter avatar Oct 18 '25 02:10 masterflinter

I looked at updating this recently, will take a bit of planning to make this happen in a way that is better.

Since the upload prompt is a list of all past and present uploads, its a bit challenging to bake the logic of what should get applied "apply to all". For example if you upload multiple things, drag folder1 , theres conflicts you don't action yet, drag folder 2, then it shows conflicts for folder2. Should the apply all also apply to items from folder1? I think probably not.

For now I am leaving this the same until theres a comprehensive solution that makes sense for all the use cases. I'll leave open until then.

gtsteffaniak avatar Oct 22 '25 23:10 gtsteffaniak