public abstract class FilesystemBasedFtpDir extends org.waarp.common.file.filesystembased.FilesystemBasedDirImpl implements FtpDir
filesystemBasedFtpDirJdk
Constructor and Description |
---|
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, getFileFromPath, getFreeSpace, getMD5, getModificationTime, getModificationTime, getRelativePath, getSHA1, getSHA256, getSHA512, 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, getFreeSpace, getMD5, getModificationTime, getOptsMLSx, getPwd, getSession, getSHA1, initAfterIdentification, isDirectory, isFile, isPathInCurrentDir, list, listFull, mkdir, rmdir, validatePath
public FilesystemBasedFtpDir(FtpSession session)
session
- public FtpFile setUniqueFile() throws org.waarp.common.command.exception.CommandAbstractException
FtpDir
setUniqueFile
in interface org.waarp.common.file.DirInterface
setUniqueFile
in interface FtpDir
setUniqueFile
in class org.waarp.common.file.filesystembased.FilesystemBasedDirImpl
org.waarp.common.command.exception.CommandAbstractException
public FtpFile setFile(String path, boolean append) throws org.waarp.common.command.exception.CommandAbstractException
FtpDir
setFile
in interface org.waarp.common.file.DirInterface
setFile
in interface FtpDir
setFile
in class org.waarp.common.file.AbstractDir
append
- True if this file is supposed to be in append mode (APPE), False in any other
casesorg.waarp.common.command.exception.CommandAbstractException
Copyright © 2009–2019 Waarp. All rights reserved.