Package-level declarations
Functions
Link copied to clipboard
Establishes a connection to an FTP server using the specified configuration.
fun connect(host: String, port: Int = 21, configuration: FtpConfiguration.() -> Unit = { }): Flow<FTPClient>
Link copied to clipboard
fun FTPClient.download(remotePath: String, dispatcher: CoroutineDispatcher = Dispatchers.IO): Flow<ByteArray>
Downloads a file from the remote FTP server specified by remotePath.