I am trying to do download file using downloadstream.
var
FileName: Text
InS: InStream;
begin
FileName := '01~Jan~2021.txt';
DownloadFromStream(InS, '', '', '', FileName);
end;
When the file is downloaded the file name is changed. All ~ is changed to _. In above example downloaded file name will be
01_Jan_2021.txt
How to stop changing the "~" in file name?
#BusinessCentral18SAAS