Hi @Dariusz Biskupski , Thanks for posting in the community, according to your description, I’ve tested on my side.
First, I upload an aspx file named “htmllink.aspx”, and it works well.
Then, I delete this file, and upload a file with the same name but different content, and it works well.
Please make sure your operation here is the same as mine.
Also, when I uploaded the first file with the same name again (content is Visit w3school.com!) without deleting the second uploaded file (content is make a change), I would find that the content of the file would be the same as the content of the first uploaded file (content is Visit w3school.com!), and after checking the version of the file, I found that there are two versions of the file: version 0.1 content is " make a change " ,0.2 version content is "Visit w3school.com!".
So, my advice is this:
- make sure you are uploading the name of the file you want to upload.
- Make sure you are uploading a new aspx file and not an old one, and that you are not uploading two files with the same name.
- Please change your computer, browser and account to view again.
Also, I don't quite understand what open the aspx file as a site means, do you click on the file name directly in the browser to open it or is there some other operation, please tell me about it.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".