Menu

Simulate an open dataconnection failed

Help
Oli
2010-07-07
2013-02-16
  • Oli

    Oli - 2010-07-07

    Hi,

    I setup the fakeftpserver and want to simulate an open dataconnection failed. Want to see how my common-net 2.0 client handle this. It seems to be, that my client hangs on (no timeout works) if this the dataconnection failed.

    And Guys, this is a nice mockproject:)

     
  • Chris Mair

    Chris Mair - 2010-07-11

    Do you mean that you want to simulate that the "control" connection is established fine, but then the "data" connection fails or cannot be established?

    Can you use StubFtpServer for that particular scenario/test, and control the low-level  status codes from the individual FTP commands? Does that help at all?

    Chris

     
  • Oli

    Oli - 2010-07-12

    Yes I mean that, have only tried out the fakeftp yet. I test it with the stub, thx, I give a feedback if I can simulate my problem:)

     

Log in to post a comment.