![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
文章平均质量分 52
male_001
这个作者很懒,什么都没留下…
展开
-
java下载远程FTP文件至本地
代码块例如: public Map<String, Object> downloadFileFromFTP(){ Map<String, Object> data = new HashMap<>(); //获取项目在tomcat部署的路径 String nodepath = this.getClass().getClassLoader().getResource("/").ge原创 2017-10-19 13:30:48 · 3392 阅读 · 1 评论 -
XML格式发送和返回数据
以xml格式向远程服务器发送数据请求,以如下xml格式为例进行数据拼接,并进行发送xml:<TCSTrCmd.Req> <MsgHeader> <TrId>2018-001</TrId> <CmdType>GetTemplateDetailByName</CmdType> </MsgHeader&原创 2018-02-11 08:54:33 · 7101 阅读 · 0 评论 -
从一个ftp上传文件至另一个ftp
FTPClient localFtpClient = new FTPClient(); FTPCLient targetFtpClient = new FTPClient(); //ftp连接 localFtpClient.connect(fileIP); boolean isLogin1 = localFtpClient.login(fileFtpName, fileFtpPassword...原创 2018-03-07 18:15:13 · 4809 阅读 · 8 评论