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.
FileName: Text
InS: InStream;
FileName := '01~Jan~2021.txt';
DownloadFromStream(InS, '', '', '', FileName);

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?

Sign In or Register to comment.