Registry / networking / ftpserver-core

ftpserver-core

JSON →
library1.2.1javamavenunverified

Apache FtpServer Core provides the core implementation for an FTP server in Java.

<dependency> <groupId>org.apache.ftpserver</groupId> <artifactId>ftpserver-core</artifactId> <version>1.2.1</version> </dependency>
INSTALL
IMPORT
SIG · FTPSERVER-CORE
F
ftpserver-core
networkingjavav1.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FtpServer
org.apache.ftpserver.FtpServer

Starts a basic FTP server on port 21.

import org.apache.ftpserver.FtpServer; import org.apache.ftpserver.FtpServerFactory; import org.apache.ftpserver.listener.ListenerFactory; public class FtpServerExample { public static void main(String[] args) throws Exception { FtpServerFactory serverFactory = new FtpServerFactory(); ListenerFactory listenerFactory = new ListenerFactory(); listenerFactory.setPort(21); serverFactory.addListener("default", listenerFactory.createListener()); FtpServer server = serverFactory.createServer(); server.start(); System.out.println("FTP server started"); } }
Debug
Known issues
gotchaDefault configuration uses anonymous login; secure with user management in production.
fix
Configure user manager with authentication to prevent unauthorized access.
affects: all
Upgrade
Version history
1.2.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
OpenAI (training)
1
Resources
ftpserver-core — mvn dependency:get ftpserver-core · libregistry