|
|
|
@ -98,6 +98,7 @@ public class FtpDownloadController extends AbstractController { |
|
|
|
|
response.setContentType(this.getContentType(fileName)); |
|
|
|
|
} else { |
|
|
|
|
response.setContentType("application/octet-stream"); |
|
|
|
|
response.setContentType("application/vnd.ms-excel"); |
|
|
|
|
} |
|
|
|
|
response.setHeader("Content-disposition", |
|
|
|
|
"attachment; filename=" + new String(fileName.getBytes(StandardCharsets.UTF_8), "ISO8859-1")); |
|
|
|
|