public interface FtpDir extends DirInterface
SEPARATOR, SEPARATORCHAR
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, getDigest, getFreeSpace, getMD5, getModificationTime, getOptsMLSx, getPwd, getSession, getSHA1, initAfterIdentification, isDirectory, isFile, isPathInCurrentDir, list, listFull, mkdir, rmdir, validatePath
FtpFile newFile(String path, boolean append) throws CommandAbstractException
newFile
in interface DirInterface
path
- append
- CommandAbstractException
FtpFile setFile(String path, boolean append) throws CommandAbstractException
setFile
in interface DirInterface
path
- append
- True if this file is supposed to be in append mode
(APPE), False in any other casesCommandAbstractException
FtpFile setUniqueFile() throws CommandAbstractException
setUniqueFile
in interface DirInterface
CommandAbstractException
Copyright © 2009–2020 Waarp. All rights reserved.