|
|
|
|
@ -10,31 +10,22 @@ import java.util.Date;
|
|
|
|
|
import java.util.Properties;
|
|
|
|
|
import java.util.Vector;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
|
|
|
|
|
import org.apache.commons.net.ftp.FTPClient;
|
|
|
|
|
import org.apache.commons.net.ftp.FTPReply;
|
|
|
|
|
import org.slf4j.Logger;
|
|
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
|
import junit.framework.TestCase;
|
|
|
|
|
import com.jcraft.jsch.Channel;
|
|
|
|
|
import com.jcraft.jsch.ChannelSftp;
|
|
|
|
|
import com.jcraft.jsch.ChannelSftp.LsEntry;
|
|
|
|
|
import com.jcraft.jsch.JSch;
|
|
|
|
|
import com.jcraft.jsch.JSchException;
|
|
|
|
|
import com.jcraft.jsch.Session;
|
|
|
|
|
import com.jcraft.jsch.SftpATTRS;
|
|
|
|
|
import com.jcraft.jsch.SftpException;
|
|
|
|
|
import com.jcraft.jsch.ChannelSftp.LsEntry;
|
|
|
|
|
|
|
|
|
|
import egovframework.com.cmm.service.Globals;
|
|
|
|
|
import egovframework.com.sym.bat.service.BatchJobListener;
|
|
|
|
|
import egovframework.itgcms.module.link.service.LinkService;
|
|
|
|
|
import egovframework.itgcms.module.link.service.LinkVO;
|
|
|
|
|
import egovframework.itgcms.module.link.service.RecvLinkService;
|
|
|
|
|
import egovframework.itgcms.util.CommUtil;
|
|
|
|
|
import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl;
|
|
|
|
|
|
|
|
|
|
public class SFTPUtil {
|
|
|
|
|
|
|
|
|
|
|