public abstract class FilesystemBasedFtpDir extends FilesystemBasedDirImpl implements FtpDir
filesystemBasedFtpDirJdk
currentDir, ISUNIX, optsMLSx, roots, session
SEPARATOR, SEPARATORCHAR
Modifier | Constructor and Description |
---|---|
protected |
FilesystemBasedFtpDir(FtpSession session) |
Modifier and Type | Method and Description |
---|---|
FtpFile |
setFile(String path,
boolean append)
Set a path as the current FileInterface
|
FtpFile |
setUniqueFile()
Set a new unique path as the current FileInterface from the current
Directory (STOU)
|
canRead, canWrite, changeDirectory, changeDirectoryNotChecked, exists, fileFull, getCRC, getDigest, getFileFromPath, getFreeSpace, getMD5, getModificationTime, getModificationTime, getRelativePath, getSHA1, getTrueFile, initJdkDependent, isDirectory, isFile, isFullTime, list, listFull, lsInfo, mkdir, mlsxInfo, rmdir, wildcardFiles
changeParentDirectory, checkIdentify, clear, consolidatePath, getCanonicalPath, getCorrespondingRoot, getOptsMLSx, getPwd, getSession, initAfterIdentification, isAbsolute, isPathInCurrentDir, isPathInCurrentDir, normalizePath, pathFromURI, validatePath, validatePath
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canRead, canWrite, changeDirectory, changeDirectoryNotChecked, changeParentDirectory, checkIdentify, clear, exists, fileFull, getCRC, getDigest, getFreeSpace, getMD5, getModificationTime, getOptsMLSx, getPwd, getSession, getSHA1, initAfterIdentification, isDirectory, isFile, isPathInCurrentDir, list, listFull, mkdir, rmdir, validatePath
protected FilesystemBasedFtpDir(FtpSession session)
session
- public final FtpFile setUniqueFile() throws CommandAbstractException
DirInterface
setUniqueFile
in interface DirInterface
setUniqueFile
in interface FtpDir
setUniqueFile
in class FilesystemBasedDirImpl
CommandAbstractException
public final FtpFile setFile(String path, boolean append) throws CommandAbstractException
DirInterface
setFile
in interface DirInterface
setFile
in interface FtpDir
setFile
in class AbstractDir
append
- True if this file is supposed to be in append mode
(APPE), False in any other casesCommandAbstractException
Copyright © 2009–2022 Waarp. All rights reserved.