File Name with Special Character ~ changed

abiabi Member Posts: 1
edited 2021-05-14 in NAV Tips & Tricks
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
Sign In or Register to comment.