我看了网上个javaftp断点续传,但我试的时候老是报错,麻烦高手解答:220Serv-UFTPServerv5.1forWinSockready...USERliangxp331Usernameokay,needpassword.PASS123456230Userloggedin...
我看了网上个java ftp断点续传,但我试的时候老是报错,麻烦高手解答:
220 Serv-U FTP Server v5.1 for WinSock ready...
USER liangxp
331 User name okay, need password.
PASS 123456
230 User logged in, proceed.
TYPE I
200 Type set to I.
CWD /callcenter/
250 Directory changed to /callcenter
SYST
215 UNIX Type: L8
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/oro/text/regex/MalformedPatternException
at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createUnixFTPEntryParser(DefaultFTPFileEntryParserFactory.java:169)
at org.apache.commons.net.ftp.parser.DefaultFTPFileEntryParserFactory.createFileEntryParser(DefaultFTPFileEntryParserFactory.java:94)
at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2358)
at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2141)
at com.neusoft.uploadTest.ContinueFTP.upload(ContinueFTP.java:133)
at com.neusoft.uploadTest.ContinueFTP.main(ContinueFTP.java:191)
上面是报错,代码地址:http://sd1992585.javaeye.com/blog/762119
我的FTP服务器为Windows 2003
展开