Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Business Central Cloud Version Download From URL

(0) ShareShare
ReportReport
Posted on by 5

Hi folks,

wondering if anyone has experience that using BC to download file from a url. Here is the scenario:

On a page, there is a field storing the url that user needs to download. And there is an action to trigger to download function.

I am looking into the https client datatype however can't find much helpful information.  If anyone here has experience please let me know. 

Thanks a lot!

  • Suggested answer
    Suresh Kulla Profile Picture
    47,688 on at
    RE: Business Central Cloud Version Download From URL

    Refer this example you need to use Rest Api Method Get the image

    robertostefanettinavblog.com/.../

  • Ronluo  Profile Picture
    5 on at
    RE: Business Central Cloud Version Download From URL

    Hi Kenneth,

    Thanks for info.

    I am aware of this DownloadFromStream Method, however i can't find article regrading how BC can GET the url content.

    For example, the file url is

    www.abc.com/123.jpg

    How could BC download the file from the url?  I am assuming it will need some HTTPS method?

    Thanks

  • Suggested answer
    Kenneth Ariel Chaves Herrera Profile Picture
    on at
    RE: Business Central Cloud Version Download From URL

    Hi Ronluo, I hope you are doing good.

    I think the documentation you are looking for is this one:

    File.DownloadFromStream Method - Business Central | Microsoft Docs

    If this answers your question, please check it as verified to help other finding useful information.

    Welcome to this amazing community.

  • Ronluo  Profile Picture
    5 on at
    RE: Business Central Cloud Version Download From URL

    Hi Bilal,

    That's correct.  And the resource needs to be download to a specific directory that the user previously specified. Is this achievable?

    Thanks

  • Bilal Haider Profile Picture
    248 on at
    RE: Business Central Cloud Version Download From URL

    Hi,

    Do you mean the URL is pointing to the resource that user need to download?

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
YUN ZHU Profile Picture

YUN ZHU 428 Super User 2025 Season 1

#2
Mansi Soni Profile Picture

Mansi Soni 302

#3
Sagar Dangar, MCP Profile Picture

Sagar Dangar, MCP 287

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans