Uses of Class
org.apache.ftpserver.ftplet.FtpException
-
Uses of FtpException in org.apache.ftpserver.ftplet
Subclasses of FtpException in org.apache.ftpserver.ftpletModifier and TypeClassDescriptionclassThrown if an authentication request failsMethods in org.apache.ftpserver.ftplet that throw FtpExceptionModifier and TypeMethodDescriptionDefaultFtplet.afterCommand(FtpSession session, FtpRequest request, FtpReply reply) Called by the ftplet container after a command has been executed by the server.Ftplet.afterCommand(FtpSession session, FtpRequest request, FtpReply reply) Called by the ftplet container after a command has been executed by the server.DefaultFtplet.beforeCommand(FtpSession session, FtpRequest request) Called by the ftplet container before a command is executed by the server.Ftplet.beforeCommand(FtpSession session, FtpRequest request) Called by the ftplet container before a command is executed by the server.booleanFileSystemView.changeWorkingDirectory(String dir) Change directory.FileSystemFactory.createFileSystemView(User user) Create user specific file system view.voidDelete the user from the system.booleanCheck if the user exists.UserManager.getAdminName()Get admin user nameString[]UserManager.getAllUserNames()Get all user names in the system.Get file object.FileSystemView.getHomeDirectory()Get the user home directory.UserManager.getUserByName(String username) Get user by name.FileSystemView.getWorkingDirectory()Get user current directory.voidDefaultFtplet.init(FtpletContext ftpletContext) Called by the ftplet container to indicate to a ftplet that the ftplet is being placed into service.voidFtplet.init(FtpletContext ftpletContext) Called by the ftplet container to indicate to a ftplet that the ftplet is being placed into service.booleanCheck if the user is admin.booleanFileSystemView.isRandomAccessible()Does the file system support random file access?DefaultFtplet.onAppendEnd(FtpSession session, FtpRequest request) Override this method to intercept file appends after completionDefaultFtplet.onAppendStart(FtpSession session, FtpRequest request) Override this method to intercept file appendsDefaultFtplet.onConnect(FtpSession session) Client connect notification method.Ftplet.onConnect(FtpSession session) Client connect notification method.DefaultFtplet.onDeleteEnd(FtpSession session, FtpRequest request) Override this method to handle deletions after completionDefaultFtplet.onDeleteStart(FtpSession session, FtpRequest request) Override this method to intercept deletionsDefaultFtplet.onDisconnect(FtpSession session) Client disconnect notification method.Ftplet.onDisconnect(FtpSession session) Client disconnect notification method.DefaultFtplet.onDownloadEnd(FtpSession session, FtpRequest request) Override this method to handle downloads after completionDefaultFtplet.onDownloadStart(FtpSession session, FtpRequest request) Override this method to intercept downloadsDefaultFtplet.onLogin(FtpSession session, FtpRequest request) Override this method to intercept user loginsDefaultFtplet.onMkdirEnd(FtpSession session, FtpRequest request) Override this method to handle creation of directories after completionDefaultFtplet.onMkdirStart(FtpSession session, FtpRequest request) Override this method to intercept creation of directoriesDefaultFtplet.onRenameEnd(FtpSession session, FtpRequest request) Override this method to handle renames after completionDefaultFtplet.onRenameStart(FtpSession session, FtpRequest request) Override this method to intercept renamesDefaultFtplet.onRmdirEnd(FtpSession session, FtpRequest request) Override this method to handle deletion of directories after completionDefaultFtplet.onRmdirStart(FtpSession session, FtpRequest request) Override this method to intercept deletion of directoriesDefaultFtplet.onSite(FtpSession session, FtpRequest request) Override this method to intercept SITE commandsDefaultFtplet.onUploadEnd(FtpSession session, FtpRequest request) Override this method to handle uploads after completionDefaultFtplet.onUploadStart(FtpSession session, FtpRequest request) Override this method to intercept uploadsDefaultFtplet.onUploadUniqueEnd(FtpSession session, FtpRequest request) Override this method to handle unique uploads after completionDefaultFtplet.onUploadUniqueStart(FtpSession session, FtpRequest request) Override this method to intercept unique uploadsvoidSave user.voidWrite a reply to the client