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 FtpIoSessioncontext - The current FtpServerContextrequest - The current FtpRequestIOExceptionFtpExceptionpublic InputStream openInputStream(FtpIoSession session, FtpFile file, long skipLen) throws IOException
IOExceptionCopyright © 2003–2025 The Apache Software Foundation. All rights reserved.