file

fun file(file: KoryFile)

Sets the file to upload.

Parameters

file

The file to upload.

Throws

if the file does not exist.