Paul Rajs

Paul Rajs

  • NA
  • 641
  • 146.6k

How to download a file from a live server path in C#

Apr 29 2019 2:21 AM

Hi Developers ,

I need to download attachments from a server path

File is available on this path : https://www.worldvision.in/receipts/TaxReceipt_90244.pdf

This path is connected to path : \\20.20.1.5\g$\idms\Receipts\Signed

Now i have to downlaod the file form \\20.20.1.5\g$\idms\Receipts\Signed this path ,

once i give this path on my local code it thirow the error like This is not a valid virtual path.

if i give path : http://si.worldvision.in/DisplayImageHandler.ashx?Path=\\\\20.20.1.5\g$\iDMS\Receipts\Signed\\TaxReceipt_181804.pdf means also it throw the same error .
but in that path file is availabe.

So how can i download the file from server path , anyone know kindly help me to done this task.

Thanking you

Paul.S


Answers (1)