How to create a “FTPS” Mock Server to unit test File Transfer in Java

微笑、不失礼 提交于 2019-12-05 17:10:53

You might find this useful MockFTPServer

The issue is that these mock servers don't implement the TLS portion from what I can see. You may need to do a little work to allow connections via TLS.

You should be able to search around and find some articles here on SO about dealing with certificates, (or in some cases, bypassing them) for the sake of your testing.

Here's another Article that goes through the steps of creating a basic FTP server Test.

Short of a full blown FTP server (Apache http w/ mod_ftp add on), there doesn't seem to be anything useful to do this.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!