|
-
June 5th, 2015, 06:44 AM
#1
Not found .rpt file from live folder
I want to copy.rpt (Crystal report) file from live folder using static IP. folder is shared and accessible. I am using web client to download .rpt file to my local folder. But, i am getting 404 - not found error, even if file exists at that location. When i change file extension from .rpt to .jpg , then it found and copies to local folder. Below is my code.
string strRptFullpath ="http://LiveIP//Reports/james.rpt"
using(WebClient client = new WebClient())
client.DownloadFile(strRptFullpaath,"D:\UDRTemp\test.rpt");
Please guide me, where i am wrong. Thanks in advance.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|