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,
FtpRequest request)
Execute command.
|
InputStream |
openInputStream(FtpIoSession session,
FtpFile file,
long skipLen)
Skip length and open input stream.
|
public void execute(FtpIoSession session, FtpServerContext context, FtpRequest request) throws IOException, FtpException
session
- The current FtpIoSession
context
- The current FtpServerContext
request
- The current FtpRequest
IOException
FtpException
public InputStream openInputStream(FtpIoSession session, FtpFile file, long skipLen) throws IOException
IOException
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.