Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
6.8k views
in Java FTP by
Hi. :cry:
I have got another problem that edtFTPj-2.0.4 is incompatible with apache ftp server-1.0.0 . when I upload files to the server if the reomte file name contains Simplified Chinese character,e.g,"中国.txt",upload will not work,and the Excepiton stack traces are below:
enterprisedt.net.ftp.ControlChannelIOException: Control channel unexpectedly closed ('' read so far)
   at enterprisedt.net.ftp.FTPControlSocket.readLine(FTPControlSocket.java:968)
   at enterprisedt.net.ftp.FTPControlSocket.readReply(FTPControlSocket.java:998)
   at enterprisedt.net.ftp.FTPControlSocket.sendCommand(FTPControlSocket.java:922)
   at enterprisedt.net.ftp.FTPClient.size(FTPClient.java:2028)
   at enterprisedt.net.ftp.FTPClient.initPut(FTPClient.java:2496)
   at enterprisedt.net.ftp.FTPClient.putData(FTPClient.java:2577)
   at enterprisedt.net.ftp.FTPClient.putStream(FTPClient.java:2310)
   at enterprisedt.net.ftp.FTPClient.put(FTPClient.java:2195)
   at enterprisedt.net.ftp.FTPClient.put(FTPClient.java:2281)
   at enterprisedt.net.ftp.FileTransferClient.uploadFile(FileTransferClient.java:669)
   at enterprisedt.net.ftp.FileTransferClient.uploadFile(FileTransferClient.java:643)
   at demo.Edtftpj_FTPTransferClient.main(Edtftpj_FTPTransferClient.java:32)

I was intended to buy edtFTPj/Pro at first,But now,I think I'd better wait for a while and check other Client,ftp4j,e.g

3 Answers

0 votes
by (162k points)
Isn't this the same problem you just posted about in another thread?

That it works with FTPClient but not FileTransferClient?
0 votes
by
I thought it was,but it isn't!!!
the problem I just posted about in another thread can be resolved by using the GBK charset,but the problem I am talking about is another.And my code can work fine with ser-u,but when I change the server with apache ftp server, there is the problem.
0 votes
by (162k points)
Ok, can you post the log file please?

Categories

...