
From following code I am able to read text from Server location 'C:\FileOnServer.txt' . But how to read text from Client Local 'C:\'
File.OPEN('C:\FileOnServer.txt');
File.CREATEINSTREAM(InStream);
TextIn.READTEXT(test);
File.CLOSE;
Warm Regards,
Ashish
*This post is locked for comments
I have the same question (0)All code in a 3-tier NAV environment is executed server-side. You should use codeunit File Management and move your server-side file to client side (FileManagement.DownloadToFile) or use DownloadFromStream: