aem-plugin / com.cognifide.gradle.aem.common.file.transfer.generic / UrlFileTransfer

UrlFileTransfer

class UrlFileTransfer : ProtocolFileTransfer

Constructors

<init>

UrlFileTransfer(aem: AemExtension)

Properties

name

Unique identifier.

val name: String

protocols

val protocols: List<String>

Functions

downloadFrom

Downloads file with given name from directory available at specified URL.

fun downloadFrom(dirUrl: String, fileName: String, target: File): Unit

Companion Object Properties

NAME

const val NAME: String

PROTOCOL

const val PROTOCOL: String