public class MyFtplet extends DefaultFtplet
Constructor and Description |
---|
MyFtplet() |
Modifier and Type | Method and Description |
---|---|
FtpletResult |
onConnect(FtpSession session)
Client connect notification method.
|
FtpletResult |
onDisconnect(FtpSession session)
Client disconnect notification method.
|
afterCommand, beforeCommand, destroy, init, onAppendEnd, onAppendStart, onDeleteEnd, onDeleteStart, onDownloadEnd, onDownloadStart, onLogin, onMkdirEnd, onMkdirStart, onRenameEnd, onRenameStart, onRmdirEnd, onRmdirStart, onSite, onUploadEnd, onUploadStart, onUploadUniqueEnd, onUploadUniqueStart
public FtpletResult onConnect(FtpSession session) throws FtpException, IOException
Ftplet
onConnect
in interface Ftplet
onConnect
in class DefaultFtplet
session
- The current FtpSession
FtpException
IOException
public FtpletResult onDisconnect(FtpSession session) throws FtpException, IOException
Ftplet
onDisconnect
in interface Ftplet
onDisconnect
in class DefaultFtplet
session
- The current FtpSession
FtpException
IOException
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.