Registry / networking / ftplet-api

ftplet-api

JSON →
library1.2.1javamavenunverified

Ftplets are an API to plug into the request lifecycle of FtpServer, called on session connect and disconnect as well as before and after each command within a user session.

<dependency> <groupId>org.apache.ftpserver</groupId> <artifactId>ftplet-api</artifactId> <version>1.2.1</version> </dependency>
INSTALL
IMPORT
SIG · FTPLET-API
F
ftplet-api
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.

Ftplet
org.apache.ftpserver.ftplet.Ftplet

Implements the Ftplet interface to hook into FTP server lifecycle events.

import org.apache.ftpserver.ftplet.Ftplet; import org.apache.ftpserver.ftplet.FtpSession; import org.apache.ftpserver.ftplet.FtpRequest; public class MyFtplet implements Ftplet { @Override public void onConnect(FtpSession session) { System.out.println("Client connected"); } @Override public void onDisconnect(FtpSession session) { System.out.println("Client disconnected"); } @Override public void beforeCommand(FtpSession session, FtpRequest request) { System.out.println("Before command: " + request.getCommand()); } @Override public void afterCommand(FtpSession session, FtpRequest request) { System.out.println("After command: " + request.getCommand()); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.2.1latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
OpenAI (training)
1
Resources
ftplet-api — mvn dependency:get ftplet-api · libregistry