class HttpFileTransfer : ProtocolFileTransfer
<init> |
HttpFileTransfer(common: CommonExtension, client: HttpClient = client(common)) |
client |
var client: HttpClient |
name |
Unique identifier. val name: String |
protocols |
val protocols: List<String> |
client |
fun client(configurer: HttpClient.() -> Unit): Unit |
downloadFrom |
Downloads file with given name from directory available at specified URL. fun downloadFrom(dirUrl: String, fileName: String, target: File): Unit |
NAME |
const val NAME: String |
client |
fun client(common: CommonExtension): HttpClient |