web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Saving XML File to a server directory

(0) ShareShare
ReportReport
Posted on by 2,813 Super User 2026 Season 1

Hi,

Can you please help me?

I want to save an xml file on a different directory on the server and turn off the block sane file message on EDGE.

My code is

FileName:='Text.XML';

DOCXML.Wtriteto(OStream);

TmpBlob.CreateInstream(IStream);

TmpBolb.CreateOutstream(OStream);

OStream.WriteText(OStream);

IStream.WriteText(IStream);

fileManager.DownloadfromSreamHandler(IStream,'','','','E:\Test\Test');

I have the same question (0)
  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    Are you using Online version?

  • Grigorios Mavrogeorgis Profile Picture
    2,813 Super User 2026 Season 1 on at

    No, I am using BC19 On-premise version

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 702 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 481 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 328 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans