mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Gustavsson <nik...@protocol7.com>
Subject Re: Use as mock for testing FTP client implementations?
Date Wed, 16 Mar 2011 09:16:31 GMT
On Wed, Mar 16, 2011 at 10:07 AM, Christian Gosch
<christian.gosch@inovex.de> wrote:
> I am looking for a FTP/FTPS protocol listener (server) which I can
> configure to simulate special error conditions on the server side.
>
> For example I have the problem that in a real situation intermittently a
>
> 3rd party FTP server which is out of control for me accepts "connect",
> but does not process "login". Instead it waits infinitely, and the
> client has to cope with this.
>
> It would be nice to have some implementation acting as FTP server which
> I can configure to deliberately perform in this way, so as to check my
> implementation whether it correctly timeouts in this situation e. g.
>
> Is it possible to achieve this with Apache Ftpserver with small effort?

Yes. You can simulate cases like this using the Ftplet API in FtpServer.

/niklas

Mime
View raw message