public interface FtpDir
extends org.waarp.common.file.DirInterface
Modifier and Type | Method and Description |
---|---|
FtpFile |
newFile(String path,
boolean append)
Create a new FtpFile
|
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, changeParentDirectory, checkIdentify, clear, exists, fileFull, getCRC, getFreeSpace, getMD5, getModificationTime, getOptsMLSx, getPwd, getSession, getSHA1, initAfterIdentification, isDirectory, isFile, isPathInCurrentDir, list, listFull, mkdir, rmdir, validatePath
FtpFile newFile(String path, boolean append) throws org.waarp.common.command.exception.CommandAbstractException
newFile
in interface org.waarp.common.file.DirInterface
path
- append
- org.waarp.common.command.exception.CommandAbstractException
FtpFile setFile(String path, boolean append) throws org.waarp.common.command.exception.CommandAbstractException
setFile
in interface org.waarp.common.file.DirInterface
path
- append
- True if this file is supposed to be in append mode (APPE), False in any other
casesorg.waarp.common.command.exception.CommandAbstractException
FtpFile setUniqueFile() throws org.waarp.common.command.exception.CommandAbstractException
setUniqueFile
in interface org.waarp.common.file.DirInterface
org.waarp.common.command.exception.CommandAbstractException
Copyright © 2009–2019 Waarp. All rights reserved.