Package | Description |
---|---|
org.waarp.common.command |
Global classes that store all informations on implemented commands,
arguments, reply codes.
|
org.waarp.common.command.exception |
FTP like Exception related to commands
|
org.waarp.common.file |
Classes implementing File, Directory, Authentication and Session Interfaces
|
org.waarp.common.file.filesystembased |
Classes implementing FileInterface and Directory according to a filesystem
implementation
|
org.waarp.ftp.core.command.access |
FTP Access related command
|
org.waarp.ftp.core.command.directory |
FTP Directory related commands
|
org.waarp.ftp.core.command.extension |
FTP non standard Extensions related command
|
org.waarp.ftp.core.command.info |
FTP Informational related command
|
org.waarp.ftp.core.command.internal |
FTP Internal related command
|
org.waarp.ftp.core.command.rfc2389 |
FTP RFC 2389 related command
|
org.waarp.ftp.core.command.rfc3659 |
FTP RFC 3659 related command
|
org.waarp.ftp.core.command.rfc4217 |
RFC 4217 on securing FTP with TLS through commands
|
org.waarp.ftp.core.command.service |
FTP Service (transfer) related command
|
org.waarp.ftp.core.control |
Classes implementing Control connections.
|
org.waarp.ftp.core.file |
Interfaces for FtpFile, FtpDir and FtpAuth as specific FTP extension of
interfaces FileInterface,
DirInterface and AuthInterface
|
org.waarp.ftp.core.session |
Classes implementing session
|
org.waarp.ftp.filesystembased |
Classes implementing File, Directory and Authentication according to a
filesystem implementation for FTP
|
org.waarp.ftp.simpleimpl.control |
Simple FTP server example of control business.
|
org.waarp.ftp.simpleimpl.file |
Filesystem based implementation example of File, Dir, Auth and SimpleAuth.
|
org.waarp.gateway.ftp.config |
Exec configuration.
|
org.waarp.gateway.ftp.control |
Exec FTP server control business.
|
org.waarp.gateway.ftp.exec |
Class for the real Exec for the Waarp Gateway.
|
org.waarp.gateway.ftp.file |
Filesystem based implementation of File, Dir, Auth and SimpleAuth.
|
org.waarp.gateway.kernel.commonfile | |
org.waarp.openr66.context |
Classes implementing Session, Result and ErrorCode
|
org.waarp.openr66.context.filesystem |
Classes implementing Filesystem
|
org.waarp.openr66.database.data |
Classes implementing Database Data model
|
Modifier and Type | Method and Description |
---|---|
void |
CommandInterface.exec()
Execute the command.
|
Modifier and Type | Class and Description |
---|---|
class |
Reply421Exception
421 Service not available, closing control connection.
|
class |
Reply425Exception
425 Can't open data connection.
|
class |
Reply426Exception
426 Connection closed, transfer aborted.
|
class |
Reply450Exception
450 Requested file action not taken.
|
class |
Reply451Exception
451 Requested action aborted: local error in processing.
|
class |
Reply452Exception
452 Requested action not taken.
|
class |
Reply500Exception
500 Syntax error, command unrecognized.
|
class |
Reply501Exception
501 Syntax error in parameters or arguments.
|
class |
Reply502Exception
502 Command not implemented.
|
class |
Reply503Exception
503 Bad sequence of commands.
|
class |
Reply504Exception
504 Command not implemented for that parameter.
|
class |
Reply522Exception
522 Extended Port Failure - unknown network protocol.
|
class |
Reply530Exception
530 Not logged in.
|
class |
Reply534Exception
534 Request denied for policy reasons.
|
class |
Reply550Exception
550 Requested action not taken.
|
class |
Reply552Exception
552 Requested file action aborted.
|
class |
Reply553Exception
553 Requested action not taken.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FileInterface.abortFile()
Try to abort the current transfer if any
|
boolean |
DirInterface.canRead() |
boolean |
FileInterface.canRead() |
boolean |
DirInterface.canWrite() |
boolean |
FileInterface.canWrite() |
boolean |
DirInterface.changeDirectory(String path)
Change directory with the one given as argument
|
boolean |
DirInterface.changeDirectoryNotChecked(String path)
Change directory with the one given as argument without checking
existence
|
boolean |
AbstractDir.changeParentDirectory() |
boolean |
DirInterface.changeParentDirectory()
Change for parent directory
|
void |
AbstractFile.clear() |
void |
FileInterface.clear()
Set empty this FtpFile, mark it unReady.
|
boolean |
FileInterface.closeFile()
Close the current FileInterface
|
protected String |
AbstractDir.consolidatePath(String path)
Consolidate Path as relative or absolute path to an absolute path
|
boolean |
FileInterface.delete()
Delete the current FileInterface.
|
boolean |
DirInterface.exists() |
boolean |
FileInterface.exists() |
String |
DirInterface.fileFull(String path,
boolean lsFormat)
Give for 1 file all informations from the given path (could be a file or
a
directory)
|
long |
DirInterface.getCRC(String path)
Get the CRC of the given FileInterface
|
byte[] |
DirInterface.getDigest(String path,
String algo)
Get the Digest of the given FileInterface
|
String |
FileInterface.getFile() |
long |
DirInterface.getFreeSpace() |
DataBlock |
AbstractFile.getMarker() |
DataBlock |
FileInterface.getMarker()
Create a restart from context for the current FileInterface
|
byte[] |
DirInterface.getMD5(String path)
Get the MD5 of the given FileInterface
|
String |
DirInterface.getModificationTime(String path)
Return the Modification time for the path
|
String |
AbstractDir.getPwd() |
String |
DirInterface.getPwd() |
byte[] |
DirInterface.getSHA1(String path)
Get the SHA-1 of the given FileInterface
|
boolean |
FileInterface.isDirectory()
Is the current FileInterface a directory and exists
|
boolean |
DirInterface.isDirectory(String path)
Is the given path a directory and exists
|
boolean |
FileInterface.isFile()
Is the current FileInterface a file and exists
|
boolean |
DirInterface.isFile(String path)
Is the given path a file and exists
|
boolean |
FileInterface.isInReading() |
boolean |
FileInterface.isInWriting() |
long |
FileInterface.length() |
List<String> |
DirInterface.list(String path)
List all files from the given path (could be a file or a directory)
|
List<String> |
DirInterface.listFull(String path,
boolean lsFormat)
List all files with other informations from the given path (could be a
file
or a directory)
|
String |
DirInterface.mkdir(String directory)
Create the directory associated with the String as path
|
FileInterface |
DirInterface.newFile(String path,
boolean append)
Create a new File
|
boolean |
FileInterface.renameTo(String path)
Rename the current FileInterface into a new filename from argument
|
boolean |
AbstractFile.restartMarker(Restart restart) |
boolean |
FileInterface.restartMarker(Restart restart)
Restart from a Marker for the current FileInterface if any.
|
abstract boolean |
Restart.restartMarker(String marker)
Restart from a Marker for the next FileInterface
|
boolean |
AbstractFile.retrieve() |
boolean |
FileInterface.retrieve()
Ask to retrieve the current FileInterface.
|
String |
DirInterface.rmdir(String directory)
Delete the directory associated with the String as path
|
FileInterface |
AbstractDir.setFile(String path,
boolean append) |
FileInterface |
DirInterface.setFile(String path,
boolean append)
Set a path as the current FileInterface
|
FileInterface |
DirInterface.setUniqueFile()
Set a new unique path as the current FileInterface from the current
Directory (STOU)
|
boolean |
AbstractFile.store() |
boolean |
FileInterface.store()
Ask to store the current FileInterface.
|
protected String |
AbstractDir.validatePath(File dir)
Same as validatePath but from a FileInterface
|
String |
AbstractDir.validatePath(String path) |
String |
DirInterface.validatePath(String path)
Construct and Check if the given path is valid from business point of
view
(see
AuthInterface ) |
protected abstract List<String> |
AbstractDir.wildcardFiles(String pathWithWildcard)
Finds all files matching a wildcard expression (based on '?'
|
Modifier and Type | Method and Description |
---|---|
boolean |
FilesystemBasedFileImpl.abortFile() |
boolean |
FilesystemBasedDirImpl.canRead() |
boolean |
FilesystemBasedFileImpl.canRead() |
boolean |
FilesystemBasedDirImpl.canWrite() |
boolean |
FilesystemBasedFileImpl.canWrite() |
boolean |
FilesystemBasedDirImpl.changeDirectory(String path) |
boolean |
FilesystemBasedDirImpl.changeDirectoryNotChecked(String path) |
void |
FilesystemBasedFileImpl.clear() |
boolean |
FilesystemBasedFileImpl.closeFile() |
boolean |
FilesystemBasedFileImpl.delete() |
boolean |
FilesystemBasedDirImpl.exists() |
boolean |
FilesystemBasedFileImpl.exists() |
String |
FilesystemBasedDirImpl.fileFull(String path,
boolean lsFormat) |
long |
FilesystemBasedDirImpl.getCRC(String path) |
byte[] |
FilesystemBasedDirImpl.getDigest(String path,
String algo) |
String |
FilesystemBasedFileImpl.getFile() |
protected File |
FilesystemBasedDirImpl.getFileFromPath(String path)
Get the FileInterface from this path, checking first its validity
|
protected File |
FilesystemBasedFileImpl.getFileFromPath(String path)
Get the File from this path, checking first its validity
|
long |
FilesystemBasedDirImpl.getFreeSpace() |
byte[] |
FilesystemBasedDirImpl.getMD5(String path) |
String |
FilesystemBasedDirImpl.getModificationTime(String path) |
byte[] |
FilesystemBasedDirImpl.getSHA1(String path) |
protected File |
FilesystemBasedDirImpl.getTrueFile(String path)
Get the true file from the path
|
boolean |
FilesystemBasedFileImpl.isDirectory() |
boolean |
FilesystemBasedDirImpl.isDirectory(String path) |
boolean |
FilesystemBasedFileImpl.isFile() |
boolean |
FilesystemBasedDirImpl.isFile(String path) |
boolean |
FilesystemBasedFileImpl.isInReading() |
boolean |
FilesystemBasedFileImpl.isInWriting() |
long |
FilesystemBasedFileImpl.length() |
List<String> |
FilesystemBasedDirImpl.list(String path) |
List<String> |
FilesystemBasedDirImpl.listFull(String path,
boolean lsFormat) |
String |
FilesystemBasedDirImpl.mkdir(String directory) |
boolean |
FilesystemBasedFileImpl.renameTo(String path) |
String |
FilesystemBasedDirImpl.rmdir(String directory) |
FileInterface |
FilesystemBasedDirImpl.setUniqueFile() |
protected List<String> |
FilesystemBasedDirImpl.wildcardFiles(String pathWithWildcard)
Finds all files matching a wildcard expression (based on '?'
|
Constructor and Description |
---|
FilesystemBasedFileImpl(SessionInterface session,
FilesystemBasedDirImpl dir,
String path,
boolean append) |
Modifier and Type | Method and Description |
---|---|
void |
REIN.exec() |
Modifier and Type | Method and Description |
---|---|
void |
CDUP.exec() |
void |
CWD.exec() |
Modifier and Type | Method and Description |
---|---|
void |
XCRC.exec() |
void |
XDIGEST.exec() |
void |
XMD5.exec() |
void |
XSHA1.exec() |
Modifier and Type | Method and Description |
---|---|
void |
SITE.exec() |
void |
STAT.exec() |
Modifier and Type | Method and Description |
---|---|
void |
ConnectionCommand.exec() |
Modifier and Type | Method and Description |
---|---|
void |
OPTS.exec() |
Modifier and Type | Method and Description |
---|---|
void |
MDTM.exec() |
void |
MLSD.exec() |
void |
MLST.exec() |
void |
SIZE.exec() |
Modifier and Type | Method and Description |
---|---|
void |
AUTH.exec() |
void |
CCC.exec() |
void |
PBSZ.exec() |
void |
PROT.exec() |
Modifier and Type | Method and Description |
---|---|
void |
ABOR.exec() |
void |
ALLO.exec() |
void |
APPE.exec() |
void |
DELE.exec() |
void |
LIST.exec() |
void |
MKD.exec() |
void |
NLST.exec() |
void |
PWD.exec() |
void |
REST.exec() |
void |
RETR.exec() |
void |
RMD.exec() |
void |
RNFR.exec() |
void |
RNTO.exec() |
void |
STOR.exec() |
void |
STOU.exec() |
Modifier and Type | Method and Description |
---|---|
abstract void |
BusinessHandler.afterRunCommandKo(CommandAbstractException e)
Run when a FTP exception is catch (the channel is not necessary closed
after).
|
Modifier and Type | Method and Description |
---|---|
abstract void |
BusinessHandler.afterRunCommandOk()
This method is called for every received message after the execution of
the
command but before the final
reply to the client.
|
abstract void |
BusinessHandler.afterTransferDoneBeforeAnswer(FtpTransfer transfer)
Run when a transfer is finished (eventually in error) but before
answering.
|
abstract void |
BusinessHandler.beforeRunCommand()
This method is called for every received message before the execution of
the command.
|
abstract String |
BusinessHandler.getOptsMessage(String[] args) |
Modifier and Type | Method and Description |
---|---|
FtpFile |
FtpDir.newFile(String path,
boolean append)
Create a new FtpFile
|
FtpFile |
FtpDir.setFile(String path,
boolean append)
Set a path as the current FileInterface
|
FtpFile |
FtpDir.setUniqueFile()
Set a new unique path as the current FileInterface from the current
Directory (STOU)
|
Modifier and Type | Method and Description |
---|---|
void |
FtpSession.setReplyCode(CommandAbstractException exception) |
Modifier and Type | Method and Description |
---|---|
long |
FilesystemBasedFtpFile.length() |
boolean |
FilesystemBasedFtpRestart.restartMarker(String marker) |
FtpFile |
FilesystemBasedFtpDir.setFile(String path,
boolean append) |
FtpFile |
FilesystemBasedFtpDir.setUniqueFile() |
Constructor and Description |
---|
FilesystemBasedFtpFile(FtpSession session,
FilesystemBasedFtpDir dir,
String path,
boolean append) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleBusinessHandler.afterRunCommandKo(CommandAbstractException e) |
Modifier and Type | Method and Description |
---|---|
void |
SimpleBusinessHandler.afterRunCommandOk() |
void |
SimpleBusinessHandler.afterTransferDoneBeforeAnswer(FtpTransfer transfer) |
void |
SimpleBusinessHandler.beforeRunCommand() |
String |
SimpleBusinessHandler.getOptsMessage(String[] args) |
Modifier and Type | Method and Description |
---|---|
FtpFile |
FileBasedDir.newFile(String path,
boolean append) |
Constructor and Description |
---|
FileBasedFile(FtpSession session,
FileBasedDir fileBasedDir,
String path,
boolean append) |
Modifier and Type | Method and Description |
---|---|
void |
AUTHUPDATE.exec() |
Modifier and Type | Method and Description |
---|---|
void |
ExecBusinessHandler.afterRunCommandKo(CommandAbstractException e) |
Modifier and Type | Method and Description |
---|---|
void |
ExecBusinessHandler.afterRunCommandOk() |
void |
ExecBusinessHandler.afterTransferDoneBeforeAnswer(FtpTransfer transfer) |
void |
ExecBusinessHandler.beforeRunCommand() |
String |
ExecBusinessHandler.getOptsMessage(String[] args) |
Modifier and Type | Method and Description |
---|---|
abstract void |
AbstractExecutor.run() |
void |
JavaExecutor.run() |
void |
R66PreparedTransferExecutor.run() |
Modifier and Type | Method and Description |
---|---|
FtpFile |
FileBasedDir.newFile(String path,
boolean append) |
Constructor and Description |
---|
FileBasedFile(FtpSession session,
FileBasedDir fileBasedDir,
String path,
boolean append) |
Modifier and Type | Method and Description |
---|---|
FileInterface |
CommonDirImpl.newFile(String path,
boolean append) |
Constructor and Description |
---|
CommonFileImpl(SessionInterface session,
CommonDirImpl dir,
String path,
boolean append) |
Modifier and Type | Method and Description |
---|---|
void |
R66Session.setFileAfterPreRunner(boolean createFile)
Set the File from the runner once PRE operation are done
|
Modifier and Type | Method and Description |
---|---|
boolean |
R66File.canRead() |
boolean |
R66File.canWrite() |
boolean |
R66File.closeFile() |
boolean |
R66File.delete() |
boolean |
R66File.exists() |
boolean |
R66File.isDirectory() |
boolean |
R66File.isFile() |
long |
R66File.length() |
R66File |
R66Dir.newFile(String path,
boolean append) |
boolean |
R66File.renameTo(String path) |
boolean |
R66File.renameTo(String path,
boolean external)
Move the current file to the path as destination
|
void |
R66File.replaceFilename(String filename,
boolean isExternal)
Replace the current file with the new filename after closing the previous
one.
|
boolean |
R66Restart.restartMarker(String marker) |
R66File |
R66Dir.setFileNoCheck(String path)
Create a new file according to the path without checking BusinessPath, so
as external File.
|
R66File |
R66Dir.setUniqueFile(long prefix,
String filename)
Same as setUnique() except that File will be prefixed by id and postfixed
by filename
|
protected List<String> |
R66Dir.wildcardFilesNoCheck(String pathWithWildcard)
Finds all files matching a wildcard expression (based on '?'
|
Constructor and Description |
---|
R66File(R66Session session,
R66Dir dir,
String path,
boolean append) |
Modifier and Type | Method and Description |
---|---|
String |
DbTaskRunner.getFullFilePath() |
Copyright © 2009–2020 Waarp. All rights reserved.