FTP异常 -- it.sauronsoftware.ftp4j.FTPException [code=550, message= Directory not found] (System.err)
来源:互联网 发布:统计型定位算法模型 编辑:程序博客网 时间:2024/06/07 16:55
【异常信息】
it.sauronsoftware.ftp4j.FTPException [code=550, message= Directory not found] (System.err)
at it.sauronsoftware.ftp4j.FTPClient.list(FTPClient.java:2164) (System.err)
【异常说明】
服务端,发送一个文件夹名字给客户端下载。客户端拿到名字,进行FTP下载,但是,下载出现上面的报错。
【异常分析】
服务端的文件夹资源,已经准备好了。可是,为什么客户端就是出现异常,下载不了呢?
经过苦苦挣扎,最后发现,原来服务端(PC平台)在准备下载文件夹资源的时候,命名出现了空格,原因在于微软公司
把字母的头和尾的空格给默认去掉了,而,服务端把带空格的全名发给了客户端,导致名字不一致,出现错误。
【温馨提示】
主要问题出在服务器名字和客户端名字不一样问题。
0 0
- FTP异常 -- it.sauronsoftware.ftp4j.FTPException [code=550, message= Directory not found] (System.err)
- it.sauronsoftware.ftp4j.FTPException [code=426, message= Failure writing network stream.
- php异常 Message: date(): It is not safe to rely on the system's timezone settings
- "$err" : "not master and slaveok=false", "code" : 13435
- linux安装weblogic报错: End-of-central-directory signature not found.Error during init, error code = 2
- Message 2100 not found; No message file for product=RDBMS, facility=ULMessage 2100 not found; No mes
- System.err: java.lang.UnsatisfiedLinkError: Native method not found: com.iflytek.msc.MSC.QISESession
- TNS-01106: Message 1106 not found; No message file for product=network, facility=TNS
- TNS-01106: Message 1106 not found; No message file for product=network, facility=TNS
- Message 2100 not found; No message file for product=RDBMS, facility=UL
- Message 1070 not found; No message file for product=network, facility=TNSTNS-12546: Message 12546 no
- Err Msg: "Physical Database not found"
- migrate遇到err mongoid[not found]
- Column 'code' not found
- FTP工具类(ftp4j)
- FTP工具类(ftp4j)
- operation system not found
- operating system not found
- Linux 创建文件夹快捷方式 In -s
- 转发
- uva live 5031 Graph and Queries(Treap x 并查集)
- css颜色样式
- 进程通讯 线程同步方式
- FTP异常 -- it.sauronsoftware.ftp4j.FTPException [code=550, message= Directory not found] (System.err)
- JSTL
- 对多维数据指定元素排序
- C语言利用链表实现有效内存管理
- Mac上Homebrew的使用
- Error:Can't have more than one marked region along edge.
- 面向客户端的服务
- 十个C开源项目
- 将linux默认python升级到2.7.4版本