package com.yfd.platform;

import com.yfd.platform.utils.FtpClient;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

@SpringBootTest
public class Test {

    @Resource
    private FtpClient ftpClient;

    @org.junit.jupiter.api.Test
    public void test() throws Exception {
        String filePath = "测试图片文件.jpg";
        ftpClient.downloadFile(filePath,"D:\\riis\\video\\"+filePath);
    }
}
