Package | Description |
---|---|
org.apache.ftpserver.command.impl |
Internal classes, do not use directly!
|
org.apache.ftpserver.command.impl.listing |
Internal classes, do not use directly!
|
org.apache.ftpserver.filesystem.nativefs.impl |
Internal classes, do not use directly!
|
org.apache.ftpserver.ftplet | |
org.apache.ftpserver.impl |
Internal classes, do not use directly!
|
Modifier and Type | Method and Description |
---|---|
protected FtpFile |
STOU.getUniqueFile(FtpIoSession session,
FtpFile oldFile)
Get unique file object.
|
Modifier and Type | Method and Description |
---|---|
protected FtpFile |
STOU.getUniqueFile(FtpIoSession session,
FtpFile oldFile)
Get unique file object.
|
InputStream |
RETR.openInputStream(FtpIoSession session,
FtpFile file,
long skipLen)
Skip length and open input stream.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FileFilter.accept(FtpFile file)
Decide if the
FtpFile should be selected |
boolean |
VisibleFileFilter.accept(FtpFile file) |
boolean |
RegexFileFilter.accept(FtpFile file) |
String |
LISTFileFormater.format(FtpFile file) |
String |
FileFormater.format(FtpFile file)
Format the file
|
String |
MLSTFileFormater.format(FtpFile file) |
String |
NLSTFileFormater.format(FtpFile file) |
Modifier and Type | Class and Description |
---|---|
class |
NativeFtpFile
Internal class, do not use directly.
This class wraps native file object.
|
Modifier and Type | Method and Description |
---|---|
FtpFile |
NativeFileSystemView.getFile(String file)
Get file object.
|
FtpFile |
NativeFileSystemView.getHomeDirectory()
Get the user home directory.
|
FtpFile |
NativeFileSystemView.getWorkingDirectory()
Get the current directory.
|
Modifier and Type | Method and Description |
---|---|
List<FtpFile> |
NativeFtpFile.listFiles()
List files.
|
Modifier and Type | Method and Description |
---|---|
boolean |
NativeFtpFile.move(FtpFile dest)
Move file object.
|
Modifier and Type | Method and Description |
---|---|
FtpFile |
FileActionFtpReply.getFile()
Returns the file (or directory) on which the action was taken
(e.g.
|
FtpFile |
FileSystemView.getFile(String file)
Get file object.
|
FtpFile |
RenameFtpReply.getFrom()
Returns the file before the rename.
|
FtpFile |
FileSystemView.getHomeDirectory()
Get the user home directory.
|
FtpFile |
FtpSession.getRenameFrom()
Get rename from file object.
|
FtpFile |
RenameFtpReply.getTo()
Returns the file after the rename.
|
FtpFile |
FileSystemView.getWorkingDirectory()
Get user current directory.
|
Modifier and Type | Method and Description |
---|---|
List<? extends FtpFile> |
FtpFile.listFiles()
List file objects.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FtpFile.move(FtpFile destination)
Move file.
|
Modifier and Type | Method and Description |
---|---|
FtpFile |
LocalizedFileActionFtpReply.getFile() |
FtpFile |
LocalizedDataTransferFtpReply.getFile() |
FtpFile |
LocalizedRenameFtpReply.getFrom() |
FtpFile |
FtpIoSession.getRenameFrom() |
FtpFile |
DefaultFtpSession.getRenameFrom()
Get rename from file object.
|
FtpFile |
LocalizedRenameFtpReply.getTo() |
Modifier and Type | Method and Description |
---|---|
void |
FileObserver.notifyDelete(FtpIoSession session,
FtpFile file)
User file delete notification.
|
void |
FileObserver.notifyDownload(FtpIoSession session,
FtpFile file,
long size)
User file download notification.
|
void |
FileObserver.notifyMkdir(FtpIoSession session,
FtpFile file)
User make directory notification.
|
void |
FileObserver.notifyRmdir(FtpIoSession session,
FtpFile file)
User remove directory notification.
|
void |
FileObserver.notifyUpload(FtpIoSession session,
FtpFile file,
long size)
User file upload notification.
|
void |
ServerFtpStatistics.setDelete(FtpIoSession session,
FtpFile file)
Increment delete count.
|
void |
DefaultFtpStatistics.setDelete(FtpIoSession session,
FtpFile file)
Increment delete count.
|
void |
ServerFtpStatistics.setDownload(FtpIoSession session,
FtpFile file,
long size)
Increment download count.
|
void |
DefaultFtpStatistics.setDownload(FtpIoSession session,
FtpFile file,
long size)
Increment download count.
|
void |
ServerFtpStatistics.setMkdir(FtpIoSession session,
FtpFile dir)
Increment make directory count.
|
void |
DefaultFtpStatistics.setMkdir(FtpIoSession session,
FtpFile file)
Increment make directory count.
|
void |
FtpIoSession.setRenameFrom(FtpFile renFr) |
void |
ServerFtpStatistics.setRmdir(FtpIoSession session,
FtpFile dir)
Decrement remove directory count.
|
void |
DefaultFtpStatistics.setRmdir(FtpIoSession session,
FtpFile file)
Increment remove directory count.
|
void |
ServerFtpStatistics.setUpload(FtpIoSession session,
FtpFile file,
long size)
Increment upload count.
|
void |
DefaultFtpStatistics.setUpload(FtpIoSession session,
FtpFile file,
long size)
Increment upload count.
|
static LocalizedFileActionFtpReply |
LocalizedFileActionFtpReply.translate(FtpIoSession session,
FtpRequest request,
FtpServerContext context,
int code,
String subId,
String basicMsg,
FtpFile file)
Returns the localized reply that contains all details about the data
transfer.
|
static LocalizedDataTransferFtpReply |
LocalizedDataTransferFtpReply.translate(FtpIoSession session,
FtpRequest request,
FtpServerContext context,
int code,
String subId,
String basicMsg,
FtpFile file)
Returns the localized reply that contains all details about the data
transfer.
|
static LocalizedRenameFtpReply |
LocalizedRenameFtpReply.translate(FtpIoSession session,
FtpRequest request,
FtpServerContext context,
int code,
String subId,
String basicMsg,
FtpFile from,
FtpFile to)
Returns the localized reply that contains all details about the rename
operation.
|
static LocalizedDataTransferFtpReply |
LocalizedDataTransferFtpReply.translate(FtpIoSession session,
FtpRequest request,
FtpServerContext context,
int code,
String subId,
String basicMsg,
FtpFile file,
long bytesTransferred)
Returns the localized reply that contains all details about the data
transfer.
|
Constructor and Description |
---|
LocalizedDataTransferFtpReply(int code,
String message,
FtpFile file,
long bytesTransferred)
Creates a new instance of
LocalizedFileTransferReply . |
LocalizedFileActionFtpReply(int code,
String message,
FtpFile file)
Creates a new instance of
LocalizedFileTransferReply . |
LocalizedRenameFtpReply(int code,
String message,
FtpFile from,
FtpFile to)
Creates a new instance of
LocalizedRenameFtpReply . |
Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.