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:)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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:)
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
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:)