asFile

abstract fun asFile(): RemoteFile

Returns this RemoteEntry as RemoteFile

See isFile.

Return

this object as a RemoteFile

Throws

if the entry is not a file