Welcome to the Xceed Community | Help
Community Search  
More Search Options

Client.Disconnect() problem.

Sort Posts: Previous Next
  •  09-23-2009, 11:32 AM Post no. 24115

    Client.Disconnect() problem.

    This was tried with 2 different servers running ProFTPD 1.3.1:

    On two of the servers different error occurs:

    this is what I get using ngrep on Linux server #1 with the client.disconnect() from XCeed library 4.0:

     

    T 2009/09/22 07:08:07.245982 XXX.XXX.XXX.XXX:54484 -> XXX.XXX.XXX.XXX:21 Travel .QUIT..                                                                                                 

    T 2009/09/22 07:08:07.254906 XXX.XXX.XXX.XXX:21 -> XXX.XXX.XXX.XXX:54484 Travel   500 .QUIT not understood..   

     

    this is what I get using ngrep on Linux server #2 with the client.disconnect() from XCeed library 4.0:

     

    T  XXX.XXX.XXX.XXX:14708 ->  XXX.XXX.XXX.XXX:21 Travel   .QUIUIT..

    T  XXX.XXX.XXX.XXX:21 ->  XXX.XXX.XXX.XXX:14708 Travel   500 .QUIUIT not understood..

     

     

    And this is what I get when I client.SendCustomCommand(“QUIT”) from XCeed library on both servers:

     

    T 2009/09/22 07:16:23.341073  XXX.XXX.XXX.XXX:21 ->  XXX.XXX.XXX.XXX:54564 Travel   221 Goodbye...

     

     

    Is there a problem with client.disconnect() method?

                                                                              

     

    Filed under: , ,
  •  12-16-2009, 1:34 PM Post no. 25231 in reply to 24115

    Re: Client.Disconnect() problem.

    Hi,

    actually, the error is not coming from the client.disconnect() method but rather with the server being unable to handle the TelnetInterrupt signal.  Therefore, you should refer to this page : http://doc.xceedsoft.com/products/XceedFileSystem/FTPComponent_FtpClient_properties.html 

    You will see a property called SendTelnetInterruptSignal and if this property is set to false before calling disconnect(), you should not have any problem. 

    Best regards,


    Ghislain
    Technical Support and software developer
    Xceed Software Inc.
    Knowledge Base : http://xceed.com/kb/
    Update Center : http://xceed.com/updates/
    Documentation Center : http://xceed.com/doc/
    For everything else, there is Google
View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2011 Xceed Software Inc.