프로젝트

일반

사용자정보

개정판 6c45db59

ID6c45db591f44365bd67590569f80e52aa0c2ef64
상위 fc4e50f2
하위 ed705a3d

김태성이(가) 약 4년 전에 추가함

autoupdate setup 수정

Change-Id: Ib142366f183244e817361d5a39a1973a63f7d756

차이점 보기:

FinalService/KCOM_FinalService/UploadTest/MainWindow.xaml.cs
32 32
        {
33 33
            try
34 34
            {
35

  
35
                UploadCall2();
36 36
                UploadCall();
37 37
            }
38 38
            catch (Exception ex)
......
46 46
            }
47 47
        }
48 48

  
49
        private void UploadCall2()
50
        {
51
            var final = new FINAL_PDF();
52
            final.DOCUMENT_ID = "2278058250";
53
            final.PROJECT_NO = "150128";
54

  
55
            var result = UploadFinal.UploadFinal.UploadFinalPDF(@"\\172.20.121.220\comment3\finalPDF\tmp776A.pdf", "ONPZ-ORG-PR-8121-0412.002-0000-DDD-001_R0.pdf", final, "");
56
        }
57

  
49 58
        private void UploadCall()
50 59
        { 
51 60
            if(string.IsNullOrEmpty(tbFinalPDFID.Text))
......
87 96
                        {
88 97
                            var file = _docInfoList.First().ORIGINAL_FILE;
89 98

  
99
                            LogWrite("ORIGINAL_FILE Full Url : " + file);
100

  
101

  
90 102
                            var decodeFile = System.Web.HttpUtility.UrlDecode(file);
91 103

  
92
                            if (System.Web.HttpUtility.ParseQueryString(decodeFile).AllKeys.Count(x => x.ToLower() == ("filename").ToLower()) > 0)
93
                            {
94
                                filename = System.Web.HttpUtility.ParseQueryString(decodeFile).Get("filename");
95
                            }
96
                            else
97
                            {
104
                            //if (System.Web.HttpUtility.ParseQueryString(decodeFile).AllKeys.Count(x => x.ToLower() == ("filename").ToLower()) > 0)
105
                            //{
106
                            //    filename = System.Web.HttpUtility.ParseQueryString(decodeFile).Get("filename");
107
                            //}
108
                            //else
109
                            //{
98 110
                                filename = decodeFile.Split('/').Last();
99
                            }
111
                            //}
100 112
                        }
101 113
                    }
102 114

  

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)