Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Optional TTL for the uploaded file in seconds. null uses provider default.

Functions

Link copied to clipboard
fun createFile(filePath: String, rewriteExists: Boolean = false, block: (KoryFile) -> Unit)

Creates a new file at the given path and sets it for upload.

Link copied to clipboard
fun file(file: KoryFile)

Sets the file to upload.

Link copied to clipboard
fun fileFromPath(path: String)

Loads the file from the given path and sets it for upload.