Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

How do I choose the path when downloading files D365 X ++

(1) ShareShare
ReportReport
Posted on by 140

Hi Everyone !

There are no problems with downloading files with x ++. But I want to download it to the desired folder by providing the user with the option.

Is it possible to technically do this?

If technically possible, can you help me with this and share a sample code?

Best Regards.

  • Martin Dráb Profile Picture
    231,927 Most Valuable Professional on at
    RE: How do I choose the path when downloading files D365 X ++

    I believe that the question was answered: it's not possible. X++ running in on a web server can't control what a user does with the downloaded file on a local PC.

    You'll need to look for a different way to implement your business requirement. If you need a help with it, create a new thread and explain your requirements there.

  • satish.pentyala Profile Picture
    5 on at
    RE: How do I choose the path when downloading files D365 X ++
    [quote user="Gokhan Cakir"]

    Hi Everyone !

    There are no problems with downloading files with x ++. But I want to download it to the desired folder by providing the user with the option.

    Is it possible to technically do this?

    If technically possible, can you help me with this and share a sample code?

    Best Regards.

    [/quote]

    Gokhan Cakir, Have you found the solution for this issue?

  • Suggested answer
    nmaenpaa Profile Picture
    101,156 Moderator on at
    RE: How do I choose the path when downloading files D365 X ++

    In the browser settings you can usually choose which folder to use for downloads, or whether tje browser should ask the folder before each download. That's how it can be handled. D365 can't impact how the browser handles this. 

  • Suggested answer
    Martin Dráb Profile Picture
    231,927 Most Valuable Professional on at
    RE: How do I choose the path when downloading files D365 X ++

    .The web server simply returns a file; it doesn't control how files are downloaded by user's browser.

    The browser may save it to a folder defined in its configuration, or it may show a dialog where user chooses a location. It all happens in a browser on client; not in X++ on web server.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,927 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans