//import com.fjs.scenic.utils.FtpFileUtil;
//import org.junit.Test;
//import org.junit.runner.RunWith;
//import org.springframework.boot.test.context.SpringBootTest;
//import org.springframework.test.context.junit4.SpringRunner;
//
//import java.io.FileInputStream;
//import java.io.FileNotFoundException;
//import java.io.InputStream;
//
////@RunWith(SpringRunner.class)
////@SpringBootTest
//public class DyManageWebApplicationTests {
//
//    @Test
//    public void contextLoads() throws FileNotFoundException {
//        InputStream is = new FileInputStream("F:/tempfile/H53A6B38A_0604091440.apk");
//        FtpFileUtil.FTP_ADDRESS = "ftp.cqhsrj.com";
//        FtpFileUtil.FTP_PORT = 21;
//        FtpFileUtil.FTP_USERNAME = "ftpuser";
//        FtpFileUtil.FTP_PASSWORD = "ectrip2018";
//        FtpFileUtil.FTP_BASEPATH = "/images/qj";
//        FtpFileUtil.NGINX_PORT = "8081";
//
//        FtpFileUtil.uploadFile("FELICITY_HOME.apk",is);
//    }
//
//}
