Read/Reply : 18905/2
  • lilford
  • (1 posts)

 Hello,

I am trying to connect to the server using java Apache API (org.apache.commons.net..ftp.FTPClient). I keep getting 

org.apache.commons.net.ftp.FTPConnectionClosedException: FTP response 421 received.  Server closed connection.

I am using apache version 1.4.1.

Also is the FTP an IBM AS400 based system? I am guessing its not..

 


7/19/2018 12:02:44 AM

  • DriveHQSupport_
  • (628 posts)
Subject: Re:Java API

DriveHQ's FTP server supports standard FTP, FTPS and SFTP protocols. I don't see any problem in your DriveHQ account. Please test it with an FTP client program such as FileZilla. You should be able to log on with FileZilla or other FTP client. If not, we can help you trouble shoot it. 

Your problem seems to be related with your Java code or your local network connection. Unfortunately we usually cannot troubleshoot custom software code. If you ordered a business/enterprise level subscription, I will try to escalate it to our engineers.


Reply
8/5/2018 2:10:02 AM

  • liveieee
  • (2 posts)
Subject: Re:Java API

 java.net.ConnectException: Connection timed out: connect

at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)

Reply
3/30/2021 4:42:28 AM

Quickly Reply

Please logon and reply, Not DriveHQ Member?


Leading Cloud Surveillance service

Leading Enterprise Cloud IT Service Since 2003