Java上传文件FTP服务器代码

2021-03-13 04:28

阅读:415

  • */
    public class Ftp {

    private String ipAddr;//ip地址

    private Integer port;//端口号

    private String userName;//用户名

    private String pwd;//密码

    private String path;//aaa路径

    public String getIpAddr() {
    return ipAddr;
    }

    public void setIpAddr(String ipAddr) {
    this.ipAddr = ipAddr;
    }

    public Integer getPort() {
    return port;
    }

    public void setPort(Integer port) {
    this.port = port;
    }

    public String getUserName() {
    return userName;
    }

    public void setUserName(String userName) {
    this.userName = userName;
    }

    public String getPwd() {
    return pwd;
    }

    public void setPwd(String pwd) {
    this.pwd = pwd;
    }

    public String getPath() {
    return path;
    }

    public void setPath(String path) {
    this.path = path;
    }


  • 评论


    亲,登录后才可以留言!