FtpResource

zio.ftp.FtpResource
See theFtpResource companion object
final case class FtpResource(path: String, size: Long, lastModified: Long, permissions: Set[PosixFilePermission], isDirectory: Option[Boolean])

Represent a file / directory / symbolic link on a ftp server

Value parameters

isDirectory

boolean flag: 'true' if it is a directory, 'false' if it is a file. In some situation we cannot determine the type of the resource

lastModified

last modified date as a timestamp

path

location on the resource on the ftp server

permissions

linux file system permissions

size

size in bytes

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product