Sharepoint 365 online document library - stop upload button overwriting existing files

kb@aia 1 Reputation point
2021-11-18T16:07:38.973+00:00

We use SharePoint Site document libraries as a client portal and want to use the Upload button to allow users to upload documents/pictures/etc as a means of securely communicating sensitive files. However, the default behaviour of the Upload button to to ask whether to overwrite an existing file, but we need to retain existing files. Is there anyway to alter the functionality of the Upload button to not overwrite files and simply add, say, (1)/(2)/etc to a filename instead? This is basic stuff so hopefully Microsoft have sorted this as an option?

Any help gratefully received.

Microsoft 365 and Office | SharePoint | For business | Windows
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 51,846 Reputation points Microsoft External Staff
    2021-11-19T06:55:40.087+00:00

    @kb@aia

    When you upload a file with this name already exists, SharePoint will let you choose replace the existing file or keep both two files, it is by design. Until now, there is no option to change it.

    Thanks for your thoughts and suggestions on the product.

    We suggest that you can go to the Microsoft Tech Community to submit a feedback.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.