Why does only my computer occur below error message? - Java exception occurred:

1 回表示 (過去 30 日間)
Seuk Hwan Choi
Seuk Hwan Choi 2011 年 5 月 25 日
Dear All
I have been getting the below error when I tried to connect ftp server and get data. and Only my computer occured below error message. Maybe It is my computer's option problem. but I can't find any solution.
If anyone can help me with this I woluld really appreciate it Thanks in advance.
" Java exception occurred: org.apache.commons.net.io.CopyStreamException: IOException caught while copying.
at org.apache.commons.net.io.Util.copyStream(Util.java:127)
at org.apache.commons.net.ftp.FTPClient.retrieveFile(FTPClient.java:1295) "
java:127 line is not available line. It's comment.
and java:1295 line is comment too.
Command of getting ftp data is below
mget(SSS,F_AAA(size(F_AAA,1)).name);
Please help me.

回答 (2 件)

Walter Roberson
Walter Roberson 2011 年 5 月 25 日
Probably for some reason the connection dropped. There are a number of different reasons that can happen, including
  • system overheating
  • driver problems with your ethernet card
  • hardware problems with your ethernet card
  • drive fills up or your quota is reached
  • configuration of firewalls on your network
  • difficulties with your ISP's configuration
  • reaching a transfer volume maximum with your ISP
  • hardware or software problems with the network equipment at your ISP or further on the network (beyond your control)
  • network congestion
  • destination gets busy and drops the connection
There are other reasons that have slipped my mind at the moment.
By the way, the line
mget(SSS,F_AAA(size(F_AAA,1)).name);
would normally be written
mget(SSS,F_AAA(end).name);
That would, however, not have any effect on the connection; it is just a matter of style.

Seuk Hwan Choi
Seuk Hwan Choi 2011 年 5 月 26 日
Sorry, I forgot to write this information. but it is well done to connect ftp server directly.

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by