If you tried something that fails and need further help (you are using an http client already ?), it could be easier to start from the actual problem you have as it could be tons of things (from not using the correct approach to having an authentication
or firewall issue).
I think you could use WebClient to get url of image in another web server and download in local.
And then show the image in local.
Best Regards.
Yuki Tao
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
None
0 Points
1 Post
How to open image file from another web server folder.
Dec 26, 2018 08:03 AM|abdulraqeeb93|LINK
Hi,
I am facing problem in loading image from another web server folder. Can you please help me to find
How to open an image file from another web server folder.
Thanks
All-Star
52523 Points
15672 Posts
Re: How to open image file from another web server folder.
Dec 26, 2018 08:46 AM|oned_gk|LINK
client site simply use url address
server site use httpclient
https://stackoverflow.com/questions/26958829/how-do-i-use-the-new-httpclient-from-windows-web-http-to-download-an-image
https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient?view=netframework-4.7.2
Suwandi - Non Graduate Programmer
All-Star
48290 Points
17991 Posts
Re: How to open image file from another web server folder.
Dec 26, 2018 12:38 PM|PatriceSc|LINK
Hi,
If you tried something that fails and need further help (you are using an http client already ?), it could be easier to start from the actual problem you have as it could be tons of things (from not using the correct approach to having an authentication or firewall issue).
Contributor
3710 Points
1431 Posts
Re: How to open image file from another web server folder.
Dec 27, 2018 07:55 AM|Yuki Tao|LINK
Hi abdulraqeeb93,
like this article:
I think you could use WebClient to get url of image in another web server and download in local.
And then show the image in local.
Best Regards.
Yuki Tao
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.