public abstract class FilesystemBasedFtpFile extends FilesystemBasedFileImpl implements FtpFile
currentFile, isAppend, session
isReady
Modifier | Constructor and Description |
---|---|
protected |
FilesystemBasedFtpFile(FtpSession session,
FilesystemBasedFtpDir dir,
String path,
boolean append) |
Modifier and Type | Method and Description |
---|---|
long |
length() |
void |
trueRetrieve()
Launch retrieve operation (internal method, should not be called
directly)
|
abortFile, canRead, canWrite, clear, closeFile, delete, exists, get, getDir, getFile, getFileChannel, getFileFromPath, getFileOutputStream, getPosition, getRandomFile, getRelativePath, getSession, isDirectory, isFile, isInReading, isInWriting, readDataBlock, renameTo, setPosition, writeDataBlock
checkIdentify, getMarker, restartMarker, retrieve, store
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
abortFile, canRead, canWrite, checkIdentify, clear, closeFile, delete, exists, getDir, getFile, getMarker, getSession, isDirectory, isFile, isInReading, isInWriting, readDataBlock, renameTo, restartMarker, retrieve, setPosition, store, writeDataBlock
protected FilesystemBasedFtpFile(FtpSession session, FilesystemBasedFtpDir dir, String path, boolean append) throws CommandAbstractException
session
- dir
- It is not necessary the directory that owns this file.path
- append
- CommandAbstractException
public long length() throws CommandAbstractException
length
in interface FileInterface
length
in class FilesystemBasedFileImpl
CommandAbstractException
public void trueRetrieve()
trueRetrieve
in interface FtpFile
Copyright © 2009–2020 Waarp. All rights reserved.