개정판 66bd3240
issue #0000 fileupload api - svg 추가
Change-Id: I3e3fdf586fd732c226f08ab9e2fbb300cb82ebc7
DownloadManager/Program.cs | ||
---|---|---|
55 | 55 |
{ |
56 | 56 |
try |
57 | 57 |
{ |
58 |
#if XACNA_TEST |
|
59 |
args = ("MONITOR False 78820 79568 75952 C:\\Users\\kts\\AppData\\Local\\Temp\\MARKUS\\qxpvmgdt.pmr C:\\Users\\kts\\AppData\\Local\\Temp\\MARKUS\\ehdjbhoj.2j5 C:\\Users\\kts\\AppData\\Local\\Temp\\MARKUS\\ow0bp4w4.pdf http://markus.xicna.com:5977/API_V4") |
|
60 |
.Split(' ').ToArray(); |
|
61 |
#endif |
|
58 | 62 |
ChangeLogFileName($"{DateTime.Now.ToString("yyMMddssmm")}_{args[0]}"); |
59 | 63 |
|
60 | 64 |
logger.Info($"param : {string.Join(",", args)}"); |
... | ... | |
145 | 149 |
} |
146 | 150 |
else if (args[0] == IIpc.ProcessTypeDefine.DEFINE_FILE) |
147 | 151 |
{ |
148 |
var token = Authenticate(new Uri(System.Web.HttpUtility.UrlDecode(args[3])).ToString()); |
|
152 |
//var token = Authenticate(new Uri(System.Web.HttpUtility.UrlDecode(args[3])).ToString());
|
|
149 | 153 |
|
150 | 154 |
using (System.Net.WebClient client = new System.Net.WebClient()) |
151 | 155 |
{ |
152 |
client.Headers.Add(HttpRequestHeader.Authorization, token); |
|
156 |
//client.Headers.Add(HttpRequestHeader.Authorization, token);
|
|
153 | 157 |
|
154 | 158 |
client.DownloadFileCompleted += Client_DownloadFileCompleted; |
155 | 159 |
client.DownloadProgressChanged += Client_DownloadProgressChanged; |
내보내기 Unified diff