web
You’re offline. This is a read only version of the page.
close
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!

I have the same question (0)
  • Bilal Haider Profile Picture
    414 on at

    Hi,

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

  • Ronluo  Profile Picture
    5 on at

    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

  • Suggested answer
    Kenneth Ariel Chaves Herrera Profile Picture
    on at

    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

    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
    Suresh Kulla Profile Picture
    50,243 Super User 2025 Season 2 on at

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

    robertostefanettinavblog.com/.../

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,010

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,270 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,085 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans