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
Members list
In this article