File sharing with Edit for non-users

I can share files with non-users but they can only download the shared files although I specified “Edit File possible”.
Is there a way for non-users to edit a shared file and re-upload it to the same location?

Can you post some screenshots? Normally you the anonymous user can (with the correct rights) download, delete and upload the file. Or sometimes directly edit. I like the edit of Markdown files (.md) with Nextcloud Text. Often this is sufficient and can even replace Office a little.

I think this is possible if you share the folder, not the single file.