Is wiremock capable of mocking a Ftp/Sftp server?

1,909 views
Skip to first unread message

Jon Williams

unread,
May 16, 2018, 7:58:04 PM5/16/18
to wiremock-user
Is wiremock capable of mocking a Ftp/Sftp server?   As far as I can tell, it appears Wiremock might be HTTP only?

If so, is there a hint/example somewhere?

Thanks,
Jon

Tom Akehurst

unread,
May 17, 2018, 10:47:14 AM5/17/18
to wiremock-user
It's just HTTP at the moment.

There are pure Java FTP servers out there though e.g. https://mina.apache.org/ftpserver-project/index.html. I've used these when I've needed to mock FTP.

Jon Williams

unread,
May 17, 2018, 11:45:33 AM5/17/18
to wiremock-user
Thanks for the reply.   I would have preferred using Wiremock if it were possible.   I had some luck with using com.github.stefanbirkner.fakesftpserver.rule.FakeSftpServerRule   and so I might end up using that.  

Mountebank has some generic TCP support but since the entire library is also HTTP based, it doesn't look like it would be easy to use that either.

Tom Akehurst

unread,
May 17, 2018, 11:55:01 AM5/17/18
to wiremock-user
If I had a lot more time than I do it'd be great to explore other protocols. Unfortunately I can't even keep up with the demands of HTTP.
Reply all
Reply to author
Forward
0 new messages