개정판 96e2815b
issue #000: final pdf copy path 경로 얻어오는 부분 수정
Change-Id: Ia024ad1ae69ad6a397b2c565b31488dbe82a87b5
FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.cs | ||
---|---|---|
1122 | 1122 |
///TODO : 복사할 경로를 configuration으로 빼주세요 |
1123 | 1123 |
//File.Move(FinalPDFPath.FullName, @"\\192.168.0.67\finalpdf\" + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
1124 | 1124 |
//FinalPDFPath = new FileInfo(@"\\192.168.0.67\finalpdf\" + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
1125 |
StringBuilder PDFMovePath = new StringBuilder(255);
|
|
1126 |
GetPrivateProfileString("PDFMovePath", "URL", "(NONE)", PDFMovePath, 32, Path.Combine(AppDataFolder, "FinalService.ini"));
|
|
1125 |
StringBuilder PDFMovePath = new StringBuilder(512);
|
|
1126 |
GetPrivateProfileString("PDFMovePath", "URL", "(NONE)", PDFMovePath, 512, Path.Combine(AppDataFolder, "FinalService.ini"));
|
|
1127 | 1127 |
File.Move(FinalPDFPath.FullName, PDFMovePath.ToString() + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
1128 | 1128 |
FinalPDFPath = new FileInfo(PDFMovePath.ToString() + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
1129 | 1129 |
|
내보내기 Unified diff