FtpFolder

Represents a FTP Folder in full, allowing one to address specific folders of an FTP File system.

Constructors

this
this(const(char)[] server, const(char)[] path, const(char)[] username, const(char)[] password, uint port)
Undocumented in source.

Members

Functions

clear
VfsFolder clear()

Clear all content from this folder and subordinates

close
VfsFolder close(bool commit)

Close and/or synchronize changes made to this folder. Each driver should take advantage of this as appropriate, perhaps combining multiple files together, or possibly copying to a remote location

opApply
int opApply(int delegate(ref VfsFolder) dg)

Iterate over the set of immediate child folders. This is useful for reflecting the hierarchy

toString
string toString()

Return a long name

verify
void verify(VfsFolder folder, bool mounting)

A folder is being added or removed from the hierarchy. Use this to test for validity (or whatever) and throw exceptions as necessary

Properties

file
const(char)[] file [@property setter]

Return a contained file representation

folder
const(char)[] folder [@property setter]

Return a contained folder representation

name
const(char)[] name [@property getter]

Return a short name

self
VfsFolders self [@property getter]

Returns a folder set containing only this one. Statistics are inclusive of entries within this folder only

tree
VfsFolders tree [@property getter]

Returns a subtree of folders. Statistics are inclusive of files within this folder and all others within the tree

writable
bool writable [@property getter]

Is folder writable?

Variables

name_
const(char)[] name_;
password_
const(char)[] password_;
Undocumented in source.
port_
uint port_;
Undocumented in source.
toString_
const(char)[] toString_;
username_
const(char)[] username_;
Undocumented in source.

Inherited Members

From VfsFolder

name
const(char)[] name [@property getter]

Return a short name

toString
string toString()

Return a long name

file
const(char)[] file [@property setter]

Return a contained file representation

folder
const(char)[] folder [@property setter]

Return a contained folder representation

self
VfsFolders self [@property getter]

Returns a folder set containing only this one. Statistics are inclusive of entries within this folder only

tree
VfsFolders tree [@property getter]

Returns a subtree of folders. Statistics are inclusive of files within this folder and all others within the tree

opApply
int opApply(int delegate(ref VfsFolder) dg)

Iterate over the set of immediate child folders. This is useful for reflecting the hierarchy

clear
VfsFolder clear()

Clear all content from this folder and subordinates

writable
bool writable [@property getter]

Is folder writable?

close
VfsFolder close(bool commit)

Close and/or synchronize changes made to this folder. Each driver should take advantage of this as appropriate, perhaps combining multiple files together, or possibly copying to a remote location

verify
void verify(VfsFolder folder, bool mounting)

A folder is being added or removed from the hierarchy. Use this to test for validity (or whatever) and throw exceptions as necessary

Meta