To get full access to the Kademi Hub existing customers can login here, or new customers can register here.
Describes one entry returned by FtpSession.listFiles - a single file or subdirectory found in the directory that was listed.
Properties
| Property | Returns | Description |
|---|---|---|
| directory | boolean | Whether this entry is a directory rather than a file. |
| name | String | The name of this file or directory, without any path. |
| size | long | The size of this entry in bytes. Meaningless for a directory, where the remote server typically reports 0. |
Methods
getName()
Returns: String
The name of this file or directory, without any path.
getSize()
Returns: long
The size of this entry in bytes. Meaningless for a directory, where the remote server typically reports 0.
isDirectory()
Returns: boolean
Whether this entry is a directory rather than a file.