IdFTPServer Automatically Quits After Successful Connection Due To Warning

Giganews Newsgroups
Subject: IdFTPServer Automatically Quits After Successful Connection Due To Warning
Posted by:  Jim Hallers (jimdot-halle…@gmail-dot-com)
Date: Thu, 9 Nov 2006

I am needing to connect to an FTP server that acknowledges the initial
connection with a 130 Warning message rather than a 230 success type
message.  While I am connected successfully, the IdFTPServer component
issues a QUIT because it did not receive a 230 response.  Is there a way to
override or control this behavior so that I can successfully use the
component to connect to this server?  While I can trap the EIdReplyRFCError
during the connect, this does not stop the component from automatically
issuing a QUIT, even though I was successfully logged in.  Below is the log
showing exactly what is happening.

Thanks much in advance for assistance with this!  - Jim

Stat Connected.
Recv 11/8/2006 6:10:09 PM: 130 Warning, no inverse address mapping for
client host name "test1".<EOL>
Sent 11/8/2006 6:10:09 PM: QUIT<EOL>
Recv 11/8/2006 6:10:09 PM: 220 joshua2.xyz.com server (HylaFAX (tm) Version
4.3.1rc1) ready.<EOL>
Stat Disconnected.

Replies