# FileInputStream - ํ์ผ ๋ค์ด๋ก๋ ์ฒ๋ฆฌ
ํ์ผ์ ์ฌ๋ ธ์ผ๋ฉด ๋ค์ด๋ก๋๋ฅผ ๋ฐ์ ์ ์๊ฒ ์ฒ๋ฆฌํด์ผํ๋น.. ${file.orgFileName} ์ผ๋จ ์๋จ์์ aํ๊ทธ์ ํ์ผ ๊ฒฝ๋ก๋ฅผ ์ค์ ํด์ฃผ๊ณ ํน์ ํ์ผ์ ์กฐํํ๋ ๋ก์ง์ ๋ง๋ ๋ค.. (mapper..service..) ๊ทธ๋ฐ๋ค์ ์ปจํธ๋กค๋ฌ์ ๋ทฐ๋จ์ ์ค์ ํ ๊ฒฝ๋ก๋ก ์์ฒญ์ด ๋ค์ด์์ ๋ ์ฒ๋ฆฌ๋ฅผ ํด์ค์ผ ํ๋๋ฐํ์ผ ์ ๋ณด๋ฅผ ์๊น ๋ง๋ ํน์ ํ์ผ์ ์กฐํํ๋ ๋ก์ง์ผ๋ก ํ์ธํ๊ณ ํ์ผ ๊ฒฝ๋ก๋ฅผ ๊ฐ์ง๊ณ ํ์ผ์ด ์กด์ฌํ๋์ง ํ์ธํ๋ค์ ์๋์ฒ๋ผ ํ์ผ ๋ค์ด๋ก๋์ ํ์ํ ์๋ตํค๋๋ฅผ ์ค์ ํด์ผ ํ๋ค.response.setContentType("application/octet-stream");response.setContentLength((int) file.length());response.setHeader("Content-Disposition",..