修改FTP服务器
This commit is contained in:
parent
1921dda860
commit
6dc0fd6bfa
@ -46,11 +46,11 @@ public class FtpTool {
|
||||
/**
|
||||
* ftp 服务账户
|
||||
*/
|
||||
private static final String USER_NAME = "admin";
|
||||
private static final String USER_NAME = "pnkx";
|
||||
/**
|
||||
* ftp 密码
|
||||
*/
|
||||
private static final String PWD = "admin";
|
||||
private static final String PWD = "0316";
|
||||
/**
|
||||
* 端口 ftp 默认 21 ,登录端口。20为传输端口,此处使用连接端口
|
||||
*/
|
||||
@ -58,7 +58,7 @@ public class FtpTool {
|
||||
/**
|
||||
* 目录
|
||||
*/
|
||||
private static final String PATH = "/ftp/";
|
||||
private static final String PATH = "/pnkx/ftp/";
|
||||
|
||||
/**
|
||||
* 创建连接
|
||||
|
Loading…
Reference in New Issue
Block a user