org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received.  Server closed connection. at org.apache.commons.net.ftp.FTP.__getReply( ) at org.apache.commons.net.ftp.FTP.sendCommand( ) at org.apache.commons.net.ftp.FTP.sendCommand( ) at org.apache.commons.net.ftp.FTP.port( )

csdn.net | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    使用Apache 的 FTP Client获取FTP服务器上的文件列表FTP response 421 received.Server closed connection问题的解决 - for ever的log——永远的足迹 - 博客频道 - CSDN.NET

    csdn.net | 8 months ago
    org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received.  Server closed connection. at org.apache.commons.net.ftp.FTP.__getReply( ) at org.apache.commons.net.ftp.FTP.sendCommand( ) at org.apache.commons.net.ftp.FTP.sendCommand( ) at org.apache.commons.net.ftp.FTP.port( )
  2. 0

    [VFS-193] Error::org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication - ASF JIRA

    apache.org | 1 year ago
    org.apache.commons.vfs.FileSystemException: Could not determine the type of file "ftp://".
  3. 0

    Apache Commons Net FTPClient Will Not Execute listFiles()

    Stack Overflow | 1 year ago | BC OnLine Tech Team
    org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    org.apache.commons.vfs.FileSystemException: Could not determine the type of file "ftp://". at org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1214) at org.apache.commons.vfs.provider.AbstractFileObject.getType(AbstractFileObject.java:400) at com.adeptia.indigo.event.filetrigger.FileMatcher.findFiles(FileMatcher.java:188) at com.adeptia.indigo.event.filetrigger.FileMatcher.getFileList(FileMatcher.java:117) at com.adeptia.indigo.event.ftptrigger.FtpListener.execute(FtpListener.java:122) at com.adeptia.indigo.event.AbstractListener.execute(AbstractListener.java:52) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) Caused by: org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication. at org.apache.commons.net.ftp.FTP.__getReply(FTP.java:267) at org.apache.commons.net.ftp.FTP.getReply(FTP.java:605) at org.apache.commons.net.ftp.FTPClient.completePendingCommand(FTPClient.java:1253) at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2400) at org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2364) at org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2090) at org.apache.commons.vfs.provider.ftp.FTPClientWrapper.listFiles(FTPClientWrapper.java:105) at org.apache.commons.vfs.provider.ftp.FtpFileObject.doGetChildren(FtpFileObject.java:122) at org.apache.commons.vfs.provider.ftp.FtpFileObject.getChildFile(FtpFileObject.java:91)2008-01-04 16:33:58,375 ERROR [TestScheduler_Worker-4] Event com.adeptia.indigo.event.filetrigger.FileMatcher.getFileList(FileMatcher.java:121) - ||||administrators|||||admin|Error::org.apache.commons.net.ftp.FTPConnectionClosedException: Connection closed without indication.|localhost at org.apache.commons.vfs.provider.ftp.FtpFileObject.getInfo(FtpFileObject.java:167) at org.apache.commons.vfs.provider.ftp.FtpFileObject.doAttach(FtpFileObject.java:156) at org.apache.commons.vfs.provider.AbstractFileObject.attach(AbstractFileObject.java:1200) ... 7 more 2008-01-04 16:33:58,390 INFO [TestScheduler_Worker-4] org.quartz.core.JobRunShell org.quartz.core.JobRunShell.run(JobRunShell.java:208) - Job DEFAULT.192168001166119813685098400001:FTp_Event_outbox_prob threw a JobExecutionException: org.quartz.JobExecutionException: com.adeptia.indigo.utils.IndigoException: Could not determine the type of f [See nested exception: com.adeptia.indigo.utils.IndigoException: Could not determine the type of file at com.adeptia.indigo.event.ftptrigger.FtpListener.execute(FtpListener.java:178) at com.adeptia.indigo.event.AbstractListener.execute(AbstractListener.java:52) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) * Nested Exception (Underlying Cause) --------------- com.adeptia.indigo.utils.IndigoException: Could not determine the type of file at com.adeptia.indigo.event.filetrigger.FileMatcher.getFileList(FileMatcher.java:122) at com.adeptia.indigo.event.ftptrigger.FtpListener.execute(FtpListener.java:122) at com.adeptia.indigo.event.AbstractListener.execute(AbstractListener.java:52) at org.quartz.core.JobRunShell.run(JobRunShell.java:203) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520) 2008-01-04 16:35:52,312 INFO [TestScheduler_Worker-0] Event com.adeptia.indigo.event.ftptrigger.FtpListener.execute(FtpListener.java:82) - ||||administrators|||||admin|FTP Event[192168001166119813685098400001:FTp_Event_outbox_prob] triggered to check File|localhost Please response asap

    Apache's JIRA Issue Tracker | 9 years ago | vikas
    org.apache.commons.vfs.FileSystemException: Could not determine the type of file "ftp://".

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.commons.net.ftp.FTPConnectionClosedException

      FTP response 421 received.  Server closed connection. at org.apache.commons.net.ftp.FTP.__getReply( ) at org.apache.commons.net.ftp.FTP.sendCommand( ) at org.apache.commons.net.ftp.FTP.sendCommand( ) at org.apache.commons.net.ftp.FTP.port( )

      at org.apache.commons.net.ftp.FTPClient._openDataConnection_()
    2. Commons Net
      FTPClient.listFiles
      1. org.apache.commons.net.ftp.FTPClient._openDataConnection_(FTPClient.java:463)
      2. org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2296)
      3. org.apache.commons.net.ftp.FTPClient.initiateListParsing(FTPClient.java:2269)
      4. org.apache.commons.net.ftp.FTPClient.listFiles(FTPClient.java:2047)
      4 frames