public class RETR extends AbstractCommand
RETR <SP> <pathname> <CRLF>| Constructor and Description |
|---|
RETR() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(FtpIoSession session,
FtpServerContext context,
org.apache.ftpserver.ftplet.FtpRequest request)
Execute command.
|
InputStream |
openInputStream(FtpIoSession session,
org.apache.ftpserver.ftplet.FtpFile file,
long skipLen)
Skip length and open input stream.
|
public void execute(FtpIoSession session, FtpServerContext context, org.apache.ftpserver.ftplet.FtpRequest request) throws IOException, org.apache.ftpserver.ftplet.FtpException
session - The current FtpIoSessioncontext - The current FtpServerContextrequest - The current FtpRequestIOExceptionorg.apache.ftpserver.ftplet.FtpExceptionpublic InputStream openInputStream(FtpIoSession session, org.apache.ftpserver.ftplet.FtpFile file, long skipLen) throws IOException
IOExceptionCopyright © 2003–2017 The Apache Software Foundation. All rights reserved.