mina-ftpserver-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Schulze <matthew.schu...@onlinebankingsolutions.com>
Subject Running FtpServer in plain FTP mode only or Explicit FTP mode only
Date Tue, 20 Oct 2009 18:43:52 GMT

I would like to be able to set up an embedded FTP server in my Spring
application, but restrict it to either Explicit FTP mode only (Accept no
commands except AUTH/USER/PASS/PBSZ until the connection is secured) or
normal FTP mode only (ignore any 'AUTH' commands). If no mode is
restricted, the server should exhibit normal behavior. 

The current implementation of this behavior has some small changes to
the FtpServer source to increase the visibility of some variables and
methods and hooking into CommandFactory and CommandFactoryFactory. Is
there a way to implement this behavior without modifying the current
FtpServer source?

- Matt
Matthew Schulze

View raw message