Add file overwrite confirmation
See original GitHub issueWhenever a file is moved to another folder, we don’t check for the existence of a file with the same name & extension. Leading to potential unintentional overwriting.
To Reproduce Steps to reproduce the behavior:
- Have a
/dogs/oof.png
and/dogs/breeds/oof.png
- Drag the first one into the
breeds
folder - No confirmation modal is being used
We should ensure issues in https://github.com/ipfs/ipfs-webui/issues/1667 are addressed when we solve this
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Overwrite Confirmation - WinSCP
Keeps the existing destination files (i.e. skip transfer of all files that already exist in the destination directory). This action is available ...
Read more >File upload with overwrite confirmation - CodeProject
I am using fileupload() for uploading files to a folder. I want to be able to check if the file already exists in...
Read more >how to overwrite a file after confirmation during upload in php
1 Answer 1 ... If the file already exists, what you'll have to do is move the uploaded file to a temporary location...
Read more >Asp.net file upload with overwrite confirmation - MSDN
I am using asp:fileupload for uploading files. I want to be able to check if the file already exists in the upload folder...
Read more >An actual warning asking for confirmation to overwrite an ...
* @TheRedWaxPolice * Yeah even if they refuse to add the dialog they could at least make it so the ONLY thing that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Proposed modal warnings to alleviate:
If only one file risks overwrite
stroke_attention
Overwrite file?
You already have a file named (funny-cat.gif) in this directory. Are you sure you want to overwrite it? This action is permanent and cannot be reversed.
Overwrite
andCancel
If multiple files risk overwrite This one is just a first pass at conveying concepts, and would appreciate feedback from @lidel and @rafaelramalho19. Note that this approach doesn’t give an option for iterating though the n files that would be overwritten and making a decision one by one – it’s an all-or-nothing. Would prefer the option to iterate, but don’t want to block progress in order to create a more comprehensive solution.
@lidel was this feature ever merged, and if not, do we still want to do this?