common-plugin / com.cognifide.gradle.common.file.transfer / FileTransferFactory

FileTransferFactory

class FileTransferFactory

Allows to create separate file transfer of same type but with different settings.

Useful in task scripting to communicate with multiple remote servers.

Constructors

<init>

Allows to create separate file transfer of same type but with different settings.

FileTransferFactory(common: CommonExtension)

Functions

http

fun <T> http(options: HttpFileTransfer.() -> T): T

sftp

fun <T> sftp(options: SftpFileTransfer.() -> T): T

smb

fun <T> smb(options: SmbFileTransfer.() -> T): T