Author: patientd1 | Posted on: 6/23/2010 5:32:07 PM | Views : 273

I have report files on a remote file server (c-n-one\Reports\pdf\). I have to write c# code to download pdf file from a file server.
On my web.config I created a key as follows:
<add key ="PDFFileServer" value="\\c-n-one\Reports\pdf\"/>
The code in my download function is as follows:
protected void SaveReportsLocally(String CaseNosString)
    {
        string[] CaseNos = CaseNosString.Split(' ');
        foreach (string casenum in CaseNos)
        {
            if (casenum != "Saving:" && casenum.Trim() != "")
            {
                string[] sp_params = {cas ...

Go to the complete details ...