FtpFileSystem class

Constructors

FtpFileSystem({required FtpClient client})

Properties

currentDirectory FtpDirectory
no setter
hashCode int
The hash code for this object.
no setterinherited
listType ListType
getter/setter pair
rootDirectory FtpDirectory
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

changeDirectory(String path) Future<bool>
changeDirectoryHome() Future<bool>
changeDirectoryRoot() Future<bool>
changeDirectoryUp() Future<bool>
clearCache() → void
copy() FtpFileSystem
downloadFile(FtpFile file, {int restSize = 0, OnTransferProgress? onReceiveProgress}) Future<List<int>>
downloadFileStream(FtpFile file, {int restSize = 0, OnTransferProgress? onReceiveProgress}) Stream<List<int>>
getEntryInfo(FtpEntry entry, {bool fromCache = true}) Future<FtpEntryInfo?>
init() Future<void>
isRoot(FtpDirectory directory) bool
listDirectory({FtpDirectory? directory, ListType? listType}) Future<List<FtpEntry>>
listDirectoryNames([FtpDirectory? directory]) Future<List<String>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
testDirectory(String path) Future<bool>
toString() String
A string representation of this object.
inherited
uploadFile(FtpFile file, List<int> data, {UploadChunkSize chunkSize = UploadChunkSize.kb4, OnTransferProgress? onUploadProgress}) Future<bool>
uploadFileFromStream(FtpFile file, Stream<List<int>> stream, int fileSize, {OnTransferProgress? onUploadProgress}) Future<bool>

Operators

operator ==(Object other) bool
The equality operator.
inherited