01-16-2026, 06:39 AM
(12-26-2025, 07:13 AM)RenSword Wrote: When I try to use
to send text file with SendStream, it remove my .txt extension, if the filename is .xml or etc, it has no issue.Code:WebApplication.SendStream(M, True, TIWMimeTypes.GetAsString(mtTXT), 'testing.txt');
To replay, can try run the sample project and press the button. testing without .txt file extension will be downloaded.
Found the reason is due to IWEndsText return incorrect result with .tmp (subtext) and testing.txt

