Repalce a file?

I have uploaded a file to NextCloud and shared the link & password to download it. Now I want to replace the file with a newer version, and keep the same download link and password.

How can I do that?

Thanks

If you save over the existing file, the link should remain intact. Otherwise, I think there’s an app to let you customize link URLs.

Thanks. How refreshing that the solution is so simple.

@KarlF12 The app ShareRenamer is only supported till version 17.
I personally use a self programmed link-bookmark-system in .htaccess and php outside Nextcloud which works fine for me. So i can change the php-redirect-links to nextcloud if needed. If you (@YossiD) want it please sent me a PN.