M

MockFtpServer

The MockFtpServer project provides mock/dummy FTP server implementations for testing FTP client code. Two FTP Server implementations are provided, each at a different level of abstraction. FakeFtpServer provides a higher-level abstraction. You define a virtual file system, including directories and files, as well as a set of valid user accounts and credentials. The FakeFtpServer then responds with appropriate replies and reply codes based on that configuration. StubFtpServer, on the other hand, is a lower-level "stub" implementation. You configure the individual FTP server commands to return custom data or reply codes, allowing simulation of either success or failure scenarios. You can also verify expected command invocations.
http://mockftpserver.sourceforge.net/
Apache 2
Files download
File Operation
MockFtpServer-2.0-rc2.jar download
MockFtpServer-2.0-rc2.pom download
MockFtpServer-2.0-rc2-sources.jar download
Apache Maven
<dependency>
  <groupId>org.mockftpserver</groupId>
  <artifactId>MockFtpServer</artifactId>
  <version>2.0-rc2</version>
</dependency>
Gradle Groovy
implementation 'org.mockftpserver:MockFtpServer:2.0-rc2'
Gradle Kotlin
implementation("org.mockftpserver:MockFtpServer:2.0-rc2")
Scala SBT
libraryDependencies += "org.mockftpserver" % "MockFtpServer" % "2.0-rc2"
Groovy Grape
@Grapes(
  @Grab(group='org.mockftpserver', module='MockFtpServer', version='2.0-rc2')
)
Apache Ivy
<dependency org="org.mockftpserver" name="MockFtpServer" rev="2.0-rc2" />
Leiningen
[org.mockftpserver/MockFtpServer "2.0-rc2"]
Apache Buildr
'org.mockftpserver:MockFtpServer:jar:2.0-rc2'