많은 블로그를 찾아봤는데 이게 제일 나은 것 같다. https://simplesolution.dev/spring-boot-sftp-file-transfer-using-jsch-java-library/ Spring Boot SFTP File Transfer using JSch Java Library In this post we will show you how to transfer files from a local host to a remote server and download files from a remote server to local host via SFTP in Spring Boot applications. In order to transfer files via SFTP in Java applic..
Spring boot 를 사용하면서 security 를 사용 시 ajax post 통신을 할 때 403 에러가 발생한다. 해결방법으로는 ajax send 전에 header 값에 csrf 토큰 값을 넣어주면 된다. 페이지의 header 부분에 meta 값을 넣어준다. jQuery ajax 요청시 csrf 값을 요청 전에 헤더에 담아서 보내면 된다. $.ajax({ url: opt.url, type: opt.type, contentType: contentType, dataType: "json", data: opt.param, beforeSend: function (jqXHR, settings) { var header = $("meta[name='_csrf_header']").attr("content"); v..
- Total
- Today
- Yesterday
- Java
- elasticsearch
- mybatis
- oracle
- 베리 심플
- docker
- 오라클
- 북리뷰
- 프로페셔널 스튜던트
- springboot
- svn
- Kotlin
- config-location
- LocalDate
- intellij
- localtime
- mybatis config
- jQuery
- maven
- window
- Linux
- input
- Spring
- JavaScript
- Github Status
- Bash tab
- Spring Security
- rocky
- LocalDateTime
- Mac
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 |