- FileActionFtpReply - Interface in org.apache.ftpserver.ftplet
-
A more specific type of FtpReply that is sent for commands that act on a
single file or directory such as MKD, DELE, RMD etc.
- FileSystemFactory - Interface in org.apache.ftpserver.ftplet
-
Factory for file system implementations - it returns the file system view for user.
- FileSystemView - Interface in org.apache.ftpserver.ftplet
-
This is an abstraction over the user file system view.
- FtpException - Exception in org.apache.ftpserver.ftplet
-
Ftplet exception class.
- FtpException() - Constructor for exception org.apache.ftpserver.ftplet.FtpException
-
Default constructor.
- FtpException(String) - Constructor for exception org.apache.ftpserver.ftplet.FtpException
-
Constructs a FtpException object with a message.
- FtpException(Throwable) - Constructor for exception org.apache.ftpserver.ftplet.FtpException
-
Constructs a FtpException object with a
Throwable cause.
- FtpException(String, Throwable) - Constructor for exception org.apache.ftpserver.ftplet.FtpException
-
Constructs a BaseException object with a
Throwable cause.
- FtpFile - Interface in org.apache.ftpserver.ftplet
-
This is the file abstraction used by the server.
- Ftplet - Interface in org.apache.ftpserver.ftplet
-
Defines methods that all ftplets must implement.
- FtpletContext - Interface in org.apache.ftpserver.ftplet
-
A ftplet configuration object used by a ftplet container used to pass
information to a ftplet during initialization.
- FtpletResult - Enum in org.apache.ftpserver.ftplet
-
This class encapsulates the return values of the ftplet methods.
- FtpReply - Interface in org.apache.ftpserver.ftplet
-
Interface for a reply to an FTP request.
- FtpRequest - Interface in org.apache.ftpserver.ftplet
-
One FtpRequest made by the client.
- FtpSession - Interface in org.apache.ftpserver.ftplet
-
Defines an client session with the FTP server.
- FtpStatistics - Interface in org.apache.ftpserver.ftplet
-
This interface holds all the ftp server statistical information.
- getAbsolutePath() - Method in interface org.apache.ftpserver.ftplet.FtpFile
-
Get the full path from the base directory of the FileSystemView.
- getAdminName() - Method in interface org.apache.ftpserver.ftplet.UserManager
-
Get admin user name
- getAllUserNames() - Method in interface org.apache.ftpserver.ftplet.UserManager
-
Get all user names in the system.
- getArgument() - Method in interface org.apache.ftpserver.ftplet.FtpRequest
-
Get the ftp request argument.
- getAttribute(String) - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Returns the value of the named attribute as an Object.
- getAuthorities() - Method in interface org.apache.ftpserver.ftplet.User
-
Get all authorities granted to this user
- getAuthorities(Class<? extends Authority>) - Method in interface org.apache.ftpserver.ftplet.User
-
Get authorities of the specified type granted to this user
- getBytesTransferred() - Method in interface org.apache.ftpserver.ftplet.DataTransferFtpReply
-
Returns the number of bytes transferred.
- getClientAddress() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Returns the IP address of the client that sent the request.
- getClientCertificates() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Retrieve the certificates for the client, if running over SSL and with client authentication
- getCode() - Method in class org.apache.ftpserver.ftplet.DefaultFtpReply
-
- getCode() - Method in interface org.apache.ftpserver.ftplet.FtpReply
-
The reply code
- getCommand() - Method in interface org.apache.ftpserver.ftplet.FtpRequest
-
Returns the ftp request command.
- getConnectionTime() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get connection time.
- getCurrentAnonymousLoginNumber() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get current anonymous login number.
- getCurrentConnectionNumber() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get current number of connections.
- getCurrentLoginNumber() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get current login number
- getCurrentUserLoginNumber(User) - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get the login number for the specific user
- getCurrentUserLoginNumber(User, InetAddress) - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get the login number for the specific user from the ipAddress
- getDataConnection() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get FTP data connection factory, used to transfer data to and from the client.
- getDataType() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get the data type.
- getEnabled() - Method in interface org.apache.ftpserver.ftplet.User
-
Get the user enable status.
- getFailedLogins() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get the number of failed logins.
- getFile() - Method in interface org.apache.ftpserver.ftplet.FileActionFtpReply
-
Returns the file (or directory) on which the action was taken
(e.g.
- getFile(String) - Method in interface org.apache.ftpserver.ftplet.FileSystemView
-
Get file object.
- getFileOffset() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get file upload/download offset.
- getFileSystemManager() - Method in interface org.apache.ftpserver.ftplet.FtpletContext
-
Get file system manager
- getFileSystemView() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get user file system view.
- getFrom() - Method in interface org.apache.ftpserver.ftplet.RenameFtpReply
-
Returns the file before the rename.
- getFtplet(String) - Method in interface org.apache.ftpserver.ftplet.FtpletContext
-
Get Ftplet.
- getFtpStatistics() - Method in interface org.apache.ftpserver.ftplet.FtpletContext
-
Get ftp statistics.
- getGroupName() - Method in interface org.apache.ftpserver.ftplet.FtpFile
-
Get owner group name.
- getHomeDirectory() - Method in interface org.apache.ftpserver.ftplet.FileSystemView
-
Get the user home directory.
- getHomeDirectory() - Method in interface org.apache.ftpserver.ftplet.User
-
Get the user home directory
- getLanguage() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get the requested language.
- getLastAccessTime() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get last access time.
- getLastModified() - Method in interface org.apache.ftpserver.ftplet.FtpFile
-
Get last modified time in UTC.
- getLinkCount() - Method in interface org.apache.ftpserver.ftplet.FtpFile
-
Get link count.
- getLoginTime() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get the login time.
- getMaxIdleTime() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Returns maximum idle time.
- getMaxIdleTime() - Method in interface org.apache.ftpserver.ftplet.User
-
Get the maximum idle time in seconds.
- getMessage() - Method in class org.apache.ftpserver.ftplet.DefaultFtpReply
-
- getMessage() - Method in interface org.apache.ftpserver.ftplet.FtpReply
-
The reply message, might be multiple lines
- getName() - Method in interface org.apache.ftpserver.ftplet.FtpFile
-
Get the file name of the file
- getName() - Method in interface org.apache.ftpserver.ftplet.User
-
Get the user name.
- getOwnerName() - Method in interface org.apache.ftpserver.ftplet.FtpFile
-
Get the owner name.
- getPassword() - Method in interface org.apache.ftpserver.ftplet.User
-
Get password.
- getPhysicalFile() - Method in interface org.apache.ftpserver.ftplet.FtpFile
-
Returns the physical location or path of the file.
- getReceivedTime() - Method in interface org.apache.ftpserver.ftplet.FtpRequest
-
Returns the timestamp (milliseconds since the epoch time) when this
request was received.
- getRenameFrom() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get rename from file object.
- getRequestLine() - Method in interface org.apache.ftpserver.ftplet.FtpRequest
-
Get the client request string.
- getRootCause() - Method in exception org.apache.ftpserver.ftplet.FtpException
-
- getSentTime() - Method in class org.apache.ftpserver.ftplet.DefaultFtpReply
-
- getSentTime() - Method in interface org.apache.ftpserver.ftplet.FtpReply
-
Returns the timestamp (in milliseconds since the epoch time) when this
reply was sent.
- getServerAddress() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Returns the IP address of the server
- getSessionId() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get the unique ID for this session.
- getSize() - Method in interface org.apache.ftpserver.ftplet.FtpFile
-
Get file size.
- getStartTime() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get the server start time.
- getStructure() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get structure.
- getTo() - Method in interface org.apache.ftpserver.ftplet.RenameFtpReply
-
Returns the file after the rename.
- getTotalAnonymousLoginNumber() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get total anonymous login number.
- getTotalConnectionNumber() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get total number of connections
- getTotalDeleteNumber() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get number of files deleted.
- getTotalDirectoryCreated() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get total directory created.
- getTotalDirectoryRemoved() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get total directory removed.
- getTotalDownloadNumber() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get number of files downloaded.
- getTotalDownloadSize() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get total number of bytes downloaded.
- getTotalFailedLoginNumber() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get total failed login number.
- getTotalLoginNumber() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get total login number.
- getTotalUploadNumber() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get number of files uploaded.
- getTotalUploadSize() - Method in interface org.apache.ftpserver.ftplet.FtpStatistics
-
Get total number of bytes uploaded.
- getUser() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Get user object.
- getUserArgument() - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Returns user name entered in USER command
- getUserByName(String) - Method in interface org.apache.ftpserver.ftplet.UserManager
-
Get user by name.
- getUserManager() - Method in interface org.apache.ftpserver.ftplet.FtpletContext
-
Get the user manager.
- getWorkingDirectory() - Method in interface org.apache.ftpserver.ftplet.FileSystemView
-
Get user current directory.
- onAppendEnd(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to intercept file appends after completion
- onAppendStart(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to intercept file appends
- onConnect(FtpSession) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
- onConnect(FtpSession) - Method in interface org.apache.ftpserver.ftplet.Ftplet
-
Client connect notification method.
- onDeleteEnd(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to handle deletions after completion
- onDeleteStart(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to intercept deletions
- onDisconnect(FtpSession) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
- onDisconnect(FtpSession) - Method in interface org.apache.ftpserver.ftplet.Ftplet
-
Client disconnect notification method.
- onDownloadEnd(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to handle downloads after completion
- onDownloadStart(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to intercept downloads
- onLogin(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to intercept user logins
- onMkdirEnd(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to handle creation of directories after completion
- onMkdirStart(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to intercept creation of directories
- onRenameEnd(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to handle renames after completion
- onRenameStart(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to intercept renames
- onRmdirEnd(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to handle deletion of directories after completion
- onRmdirStart(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to intercept deletion of directories
- onSite(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to intercept SITE commands
- onUploadEnd(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to handle uploads after completion
- onUploadStart(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to intercept uploads
- onUploadUniqueEnd(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to handle unique uploads after completion
- onUploadUniqueStart(FtpSession, FtpRequest) - Method in class org.apache.ftpserver.ftplet.DefaultFtplet
-
Override this method to intercept unique uploads
- openConnection() - Method in interface org.apache.ftpserver.ftplet.DataConnectionFactory
-
Open an active data connection
- org.apache.ftpserver.ftplet - package org.apache.ftpserver.ftplet
-
- removeAttribute(String) - Method in interface org.apache.ftpserver.ftplet.FtpSession
-
Removes an attribute from this request.
- RenameFtpReply - Interface in org.apache.ftpserver.ftplet
-
A more specific type of reply that is sent when a file is attempted to
rename.
- REPLY_110_RESTART_MARKER_REPLY - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
110 Restart marker reply.
- REPLY_120_SERVICE_READY_IN_NNN_MINUTES - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
120 Service ready in nnn minutes.
- REPLY_125_DATA_CONNECTION_ALREADY_OPEN - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
125 Data connection already open; transfer starting.
- REPLY_150_FILE_STATUS_OKAY - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
150 File status okay; about to open data connection.
- REPLY_200_COMMAND_OKAY - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
200 Command okay.
- REPLY_202_COMMAND_NOT_IMPLEMENTED - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
202 Command not implemented, superfluous at this site.
- REPLY_211_SYSTEM_STATUS_REPLY - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
211 System status, or system help reply.
- REPLY_212_DIRECTORY_STATUS - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
212 Directory status.
- REPLY_213_FILE_STATUS - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
213 File status.
- REPLY_214_HELP_MESSAGE - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
214 Help message.
- REPLY_215_NAME_SYSTEM_TYPE - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
215 NAME system type.
- REPLY_220_SERVICE_READY - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
220 Service ready for new user.
- REPLY_221_CLOSING_CONTROL_CONNECTION - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
Service closing control connection.
- REPLY_225_DATA_CONNECTION_OPEN_NO_TRANSFER_IN_PROGRESS - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
225 Data connection open; no transfer in progress.
- REPLY_226_CLOSING_DATA_CONNECTION - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
Closing data connection.
- REPLY_227_ENTERING_PASSIVE_MODE - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
227 Entering Passive Mode (h1,h2,h3,h4,p1,p2).
- REPLY_230_USER_LOGGED_IN - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
230 User logged in, proceed.
- REPLY_250_REQUESTED_FILE_ACTION_OKAY - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
250 Requested file action okay, completed.
- REPLY_257_PATHNAME_CREATED - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
257 "PATHNAME" created.
- REPLY_331_USER_NAME_OKAY_NEED_PASSWORD - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
331 User name okay, need password.
- REPLY_332_NEED_ACCOUNT_FOR_LOGIN - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
332 Need account for login.
- REPLY_350_REQUESTED_FILE_ACTION_PENDING_FURTHER_INFORMATION - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
350 Requested file action pending further information.
- REPLY_421_SERVICE_NOT_AVAILABLE_CLOSING_CONTROL_CONNECTION - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
421 Service not available, closing control connection.
- REPLY_425_CANT_OPEN_DATA_CONNECTION - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
425 Can't open data connection.
- REPLY_426_CONNECTION_CLOSED_TRANSFER_ABORTED - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
426 Connection closed; transfer aborted.
- REPLY_450_REQUESTED_FILE_ACTION_NOT_TAKEN - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
450 Requested file action not taken.
- REPLY_451_REQUESTED_ACTION_ABORTED - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
451 Requested action aborted: local error in processing.
- REPLY_452_REQUESTED_ACTION_NOT_TAKEN - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
452 Requested action not taken.
- REPLY_500_SYNTAX_ERROR_COMMAND_UNRECOGNIZED - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
500 Syntax error, command unrecognized.
- REPLY_501_SYNTAX_ERROR_IN_PARAMETERS_OR_ARGUMENTS - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
501 Syntax error in parameters or arguments.
- REPLY_502_COMMAND_NOT_IMPLEMENTED - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
502 Command not implemented.
- REPLY_503_BAD_SEQUENCE_OF_COMMANDS - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
503 Bad sequence of commands.
- REPLY_504_COMMAND_NOT_IMPLEMENTED_FOR_THAT_PARAMETER - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
504 Command not implemented for that parameter.
- REPLY_530_NOT_LOGGED_IN - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
530 Not logged in.
- REPLY_532_NEED_ACCOUNT_FOR_STORING_FILES - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
532 Need account for storing files.
- REPLY_550_REQUESTED_ACTION_NOT_TAKEN - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
550 Requested action not taken.
- REPLY_551_REQUESTED_ACTION_ABORTED_PAGE_TYPE_UNKNOWN - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
551 Requested action aborted: page type unknown.
- REPLY_552_REQUESTED_FILE_ACTION_ABORTED_EXCEEDED_STORAGE - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
552 Requested file action aborted.
- REPLY_553_REQUESTED_ACTION_NOT_TAKEN_FILE_NAME_NOT_ALLOWED - Static variable in interface org.apache.ftpserver.ftplet.FtpReply
-
553 Requested action not taken.