20 lines
685 B
Plaintext
20 lines
685 B
Plaintext
<!-- #include virtual = "lib/config.asp" -->
|
|
<%
|
|
Response.CharSet="euc-kr"
|
|
Response.AddHeader "Pragma","no-cache"
|
|
Response.AddHeader "cache-control", "no-staff"
|
|
Response.Expires = -1
|
|
|
|
Dim Flag, p_sn
|
|
Flag = request("flag")
|
|
p_sn = request("p_sn")
|
|
'Response.write p_sn
|
|
filename = request("filename")
|
|
|
|
filepath = "http://"&request.servervariables("HTTP_HOST") &"\FileFolder\data\"&Left(p_sn,2)&"\"&p_sn
|
|
'다운로드 개체생성
|
|
Set objDownload = Server.CreateObject("DEXT.FileDownload")
|
|
'objDownload.Download(filepath, 파일이름, 강제저장유무(True:강제저장), 이어받기 유무(True:이어받기))
|
|
objDownload.Download filepath, "김종휘_Performance_Review.xlsx", false, false
|
|
Set objDownload = Nothing
|
|
%> |