With the web client, The function DownloadFromStream doest allow to specify the client folder where to save the file. Every file is saved to the browser default transfer folder.
In my scenario I want to save a txt file to a pre configured folder.
TempFile.CREATETEMPFILE();
TempFile.WRITE('abc');
TempFile.CREATEINSTREAM(NewStream);
DOWNLOADFROMSTREAM(NewStream,'','MyFolderPath','',MyFileName)
Whats the correct approach to apply on WebClient?