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 :
Supply chain | Supply Chain Management, Commerce
Unanswered

Download a file from shared location in D365

(0) ShareShare
ReportReport
Posted on by 501

Hi Experts,

We are using Dynamics 365 FO on Prem. We have multiple systems running like ERP, CRM, custom portal etc. We place our many documents to a shared location so that all systems can access that.

And we save only the path to that shared file in a field in D365FO. Whenever user click on that path from the application frontend, it opens that document in new browser tab.

In RFQ, we receive proposals from vendors, and we have saved the links of those all documents. I need to provide a button, when clicked, all the proposals related to that RFQ will be downloaded. I have all the paths for those documents.

Now the issue is, I tried to use multiple codes to download those files, but it gives error, Unable to connect to remote server. 
The shared path is on the same network as the VM and the path is accessible if we put it on the browser. 

Sample path: 123.45.67.8:1234/.../file1.pdf

This path is accessible from inside the Dev machine I have verified, but when we try to download it using the code, it gives above mentioned error.

Please tell me if someone has done any requirement like this or have any idea about this issue

Note: I cannot change the way how these documents are being saved and shared between multiple systems.

I have the same question (0)
  • WillWU Profile Picture
    22,361 on at

    Hi ShahrukhM

    Please check the following blog:

    shyamkannadasan.blogspot.com/.../issue-cant-connect-to-ftp-server-from.html

  • Shahrukh Profile Picture
    501 on at

    Hi Will Wu,

    I will try this post that you shared but tell me 1 thing, my URL is not like FTP URL, it is like web URL. So I tried this type of code before that is mention in the post, but it gives me error that a Web URL cannot be converted into FTP URL. So will this code work with my type of URL as well?

    And please tell if it will work for On prem as well?

    IP:Port/SharedFolder/File1.pdf

    Sample path: 123.45.67.8:1234/.../file1.pdf

  • WillWU Profile Picture
    22,361 on at

    Hi Shahrukh,

    I think the format of the URL don't have any effect on this,  it will work as long as it is an FTP server.

    The blog mainly mentions the settings for the server. Did you get any more error message from the event viewer?

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 > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 298 Super User 2025 Season 2

#2
Siv Sagar Profile Picture

Siv Sagar 179 Super User 2025 Season 2

#3
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 121 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans