All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.tncube.properties.FtpProperties Maven / Gradle / Ivy

The newest version!
package cn.tncube.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties("magic.export")
public class FtpProperties {

    private String ftpIp;
    private Integer ftpPort;
    private String ftpUser;
    private String ftpPass;
    private String remotePath="/magic";
    // FTP协议里面,规定文件名编码为iso-8859-1
    private String serverCharset="ISO-8859-1";
}






© 2015 - 2024 Weber Informatics LLC | Privacy Policy