LAF/J 의 FTP 접속 및 파일 다운로드
LAF/J API를 활용한 FTP 접속 및 다운로드 입니다. . . import lafx.protocol.ftp.*; . . . 중략 . . . LFTPServiceEntity serviceEntity = new LFTPServiceEntity(); serviceEntity.setServerIP("대상 서버 아이피"); serviceEntity.setUserID("접속 아이디"); serviceEntity.setUserPassword("접속 패스워드"); serviceEntity.setMode("접속모드"); // active 또는 passive모드 LFTPService ftpService = new LFTPService(serviceEntity); LFTPControl ftpControl = new L..
Web-backend/Java
2011. 9. 15. 19:59